Skip to content
Snippets Groups Projects
Commit 1dc91d45 authored by Auke Klazema's avatar Auke Klazema
Browse files

SW-609: Add CentOS7 support for finding boost-python3 libs

parent 70103bfc
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,11 @@ if("${Boost_FIND_COMPONENTS}" MATCHES "python")
string(REPLACE "python"
"python-py${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}"
Boost_FIND_COMPONENTS "${Boost_FIND_COMPONENTS}")
if(NOT Boost_python_FOUND)
string(REPLACE "python-py${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}"
"python3"
Boost_FIND_COMPONENTS "${Boost_FIND_COMPONENTS}")
endif(NOT Boost_python_FOUND)
endif(APPLE)
endif(PYTHON_VERSION_MAJOR GREATER 2)
else(PYTHON_FOUND)
......
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