Skip to content
Snippets Groups Projects
Commit bc5ba2d4 authored by jcarpent's avatar jcarpent
Browse files

[CMake] Remove useless Python instructions

parent 74e590e0
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,6 @@ ENDIF(WIN32)
# ----------------------------------------------------
OPTION (BUILD_UNIT_TESTS "Build the unitary tests" ON)
SET(Python_ADDITIONAL_VERSIONS 3.5)
FINDPYTHON()
INCLUDE_DIRECTORIES(SYSTEM ${PYTHON_INCLUDE_DIRS})
......@@ -70,23 +69,11 @@ INCLUDE_DIRECTORIES(SYSTEM ${NUMPY_INCLUDE_DIRS})
# ----------------------------------------------------
ADD_REQUIRED_DEPENDENCY("eigen3 >= 3.0.5")
if (${PYTHON_VERSION_MAJOR} EQUAL 3)
if(UNIX)
set( BOOST_COMPONENTS python-py35)
else()
set( BOOST_COMPONENTS python3)
endif()
else()
SET(BOOST_COMPONENTS python)
endif()
SET(BOOST_COMPONENTS python)
SEARCH_FOR_BOOST()
# Add Boost path to include directories.
INCLUDE_DIRECTORIES(SYSTEM ${Boost_INCLUDE_DIRS})
#FINDPYTHON(2.7 EXACT REQUIRED)
# ----------------------------------------------------
# --- INCLUDE ----------------------------------------
# ----------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment