diff --git a/CMakeLists.txt b/CMakeLists.txt index 99f219f7f2d5ea80ca681f91cb7dd958cfed2b16..77b218400e489d86560d6ad237c669260e15093d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,7 +65,7 @@ IF(NOT CLIENT_ONLY) SET(BOOST_COMPONENTS system thread regex) SEARCH_FOR_BOOST () - FINDPYTHON(3 REQUIRED) + FINDPYTHON() SET(CMAKE_INCLUDE_CURRENT_DIR ON) IF(USE_QT4) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 95c65bd6ff5742e6c1b42d7f8631b05ba4d8e537..fa2f47f58a566e5852619a8f16e58b50915fd5d8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -20,9 +20,6 @@ SET(IDL_SOURCES graphical-interface ) -# search for python -FINDPYTHON(2.7 EXACT REQUIRED) - OMNIIDL_INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/idl) INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/src)