Skip to content
Snippets Groups Projects
Commit bfbdd61c authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] Allow python 3

parent 30d61fd1
No related branches found
No related tags found
No related merge requests found
Pipeline #6243 passed with warnings
......@@ -22,8 +22,7 @@ SETUP_HPP_PROJECT()
OPTION (BUILD_PYTHON_INTERFACE "Build the python binding" ON)
IF(BUILD_PYTHON_INTERFACE)
# search for python
FINDPYTHON(2.7 REQUIRED)
find_package( PythonLibs 2.7 REQUIRED )
FINDPYTHON()
include_directories( ${PYTHON_INCLUDE_DIRS} )
find_package( Boost COMPONENTS python REQUIRED )
......
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