The branch, master has been updated
via 921059828c9a3a1d8f773ce5adb2afc4542f9622 (commit)
from 280bea1940219c74688527e18118956112b08391 (commit)
- Log -----------------------------------------------------------------
commit 921059828c9a3a1d8f773ce5adb2afc4542f9622
Author: Fabrice Fontaine <fontaine.fabrice@xxxxxxxxx>
Date: Sat Jan 19 21:42:01 2019 +0100
python/CMakeLists.txt: fix build with cmake < 3.7
VERSION_GREATER_EQUAL has been added only in cmake 3.7:
https://cmake.org/cmake/help/v3.7/release/3.7.html
So replace this statement by NOT CMAKE_VERSION VERSION_LESS
Fixes:
-
http://autobuild.buildroot.org/results/1091872e2b77d789e361d1ddefd235c738933c55
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@xxxxxxxxx>
-----------------------------------------------------------------------
Summary of changes:
python/CMakeLists.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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 )
hooks/post-receive
--
A library to talk to FTDI chips
--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|