Skip to content

Commit 1f03b33

Browse files
author
Clement Champetier
committed
CMake: skip sam tools if SWIG is not found
1 parent 0345ddc commit 1f03b33

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

applications/sam/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
## sam
2+
find_package(SWIG)
3+
if(NOT SWIG_FOUND)
4+
return()
5+
endif()
26

37
set(TUTTLE_INSTALL_SAM_PYTHON "bin/python/sam")
48

0 commit comments

Comments
 (0)