[pyAgrum] CMakeLists.txt modification for wheels

parent af32fb75
......@@ -9,6 +9,8 @@ endif (PYTHON_TARGET)
find_package (PythonInterp ${PYAGRUM_REQUIRED_PYTHON_VERSION} REQUIRED)
find_package (PythonLibs ${PYTHON_VERSION_STRING} EXACT REQUIRED)
# for linux wheels only
#set(PYTHON_INCLUDE_DIR "@[email protected]")
if (PYTHON_VERSION_MAJOR VERSION_GREATER 2)
list (APPEND CMAKE_SWIG_FLAGS "-py3")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment