Skip to content
Snippets Groups Projects
Commit 23db5364 authored by Thomas Jürges's avatar Thomas Jürges
Browse files

SW-610: Sigh. Another fix for cmake/boost_python on Ubuntu

parent a4e78999
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ if("${Boost_FIND_COMPONENTS}" MATCHES "python") ...@@ -70,7 +70,7 @@ if("${Boost_FIND_COMPONENTS}" MATCHES "python")
Boost_FIND_COMPONENTS "${Boost_FIND_COMPONENTS}") Boost_FIND_COMPONENTS "${Boost_FIND_COMPONENTS}")
else(APPLE) else(APPLE)
if(EXISTS "/etc/debian_version") if(EXISTS "/etc/debian_version")
string(REPLACE "python" "python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}" Boost_FIND_COMPONENTS "${Boost_FIND_COMPONENTS}") string(REPLACE "python" "python-py${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}" Boost_FIND_COMPONENTS "${Boost_FIND_COMPONENTS}")
else(EXISTS "/etc/debian_version") else(EXISTS "/etc/debian_version")
string(REPLACE "python" "python3" Boost_FIND_COMPONENTS "${Boost_FIND_COMPONENTS}") string(REPLACE "python" "python3" Boost_FIND_COMPONENTS "${Boost_FIND_COMPONENTS}")
endif(EXISTS "/etc/debian_version") endif(EXISTS "/etc/debian_version")
......
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