Browse Source

boost python cmake fix for debian

Former-commit-id: facd495c4b
tempestpy_adaptions
sjunges 9 years ago
parent
commit
9873d2c915
  1. 8
      CMakeLists.txt

8
CMakeLists.txt

@ -195,6 +195,14 @@ endif(CUSTOM_BOOST_ROOT)
if(STORM_PYTHON)
find_package(Boost REQUIRED COMPONENTS python3)
#HACK for DEBIAN
if(NOT Boost_PYTHON3_FOUND)
set(PYVERSION 34)
load_library(pycarl Boost 1.55 COMPONENTS python-py${PYVERSION})
if(NOT Boost_PYTHON-PY${PYVERSION}_FOUND)
message(FATAL_ERROR "Could not find Boost Python")
endif()
endif()
else()
find_package(Boost REQUIRED)
endif()

Loading…
Cancel
Save