Skip to content
Snippets Groups Projects
Commit 146bb37c authored by Joanna Baran's avatar Joanna Baran
Browse files

Update CMakeLists.txt

parent ac7ed64c
Branches python3.8
No related tags found
No related merge requests found
Pipeline #3877 failed
...@@ -123,7 +123,9 @@ set(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") ...@@ -123,7 +123,9 @@ set(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Detect python version descriptor # Detect python version descriptor
if(SWIG_FOUND) if(SWIG_FOUND)
find_package(PythonLibs 3.8) # find_package(PythonLibs 3.8)
set(PYTHON_LIBRARIES "/usr/lib/x86_64-linux-gnu/libpython3.8.so")
set(PYTHON_INCLUDE_DIRS "/usr/include/python3.8")
find_package(PythonInterp 3.8) find_package(PythonInterp 3.8)
set(PYTHON_VERSION "python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}") set(PYTHON_VERSION "python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}")
endif(SWIG_FOUND) endif(SWIG_FOUND)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment