X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=python%2FCMakeLists.txt;h=376dae6f45405c2e082982d4b9cda0390c9242b1;hp=7bdd9f9300a366c78849690373c1a6ad7bc5fd70;hb=921059828c9a3a1d8f773ce5adb2afc4542f9622;hpb=280bea1940219c74688527e18118956112b08391 diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 7bdd9f9..376dae6 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -1,5 +1,5 @@ # workaround for cmake bug #0013449 -if ( NOT DEFINED CMAKE_FIND_ROOT_PATH OR CMAKE_VERSION VERSION_GREATER_EQUAL 3.0.0 ) +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 )