git://developer.intra2net.com
/
libftdi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
swig: improve indentation
[libftdi]
/
python
/
CMakeLists.txt
diff --git
a/python/CMakeLists.txt
b/python/CMakeLists.txt
index
4843396
..
376dae6
100644
(file)
--- a/
python/CMakeLists.txt
+++ b/
python/CMakeLists.txt
@@
-1,5
+1,5
@@
# workaround for cmake bug #0013449
-if ( NOT DEFINED CMAKE_FIND_ROOT_PATH )
+if ( NOT DEFINED CMAKE_FIND_ROOT_PATH OR NOT CMAKE_VERSION VERSION_LESS 3.0.0 )
find_package ( SWIG REQUIRED )
else ()
find_program ( SWIG_EXECUTABLE NAMES swig2.0 swig )