bug:
undefined reference to `boost::system::get_system_category()' symptoms that boost_system was not used at the linking phase at least on my system (mac OSX leopard with apple gcc and boost 1.43.0) solution: add the dependency
This commit is contained in:
parent
201902897f
commit
de5152941c
|
@ -14,7 +14,7 @@ FIND_PACKAGE(PythonSitePackages REQUIRED)
|
|||
|
||||
SET(Boost_USE_STATIC_LIBS ON)
|
||||
MESSAGE(STATUS "Always uses Boost static libraries.")
|
||||
FIND_PACKAGE(Boost 1.32.0 COMPONENTS program_options filesystem python REQUIRED)
|
||||
FIND_PACKAGE(Boost 1.32.0 COMPONENTS program_options filesystem system python REQUIRED)
|
||||
IF (Boost_FOUND)
|
||||
MESSAGE(STATUS "Found Boost.Python libraries in ${Boost_INCLUDE_DIR} as ${Boost_LIBRARIES}")
|
||||
FIND_PACKAGE(PythonLibs REQUIRED)
|
||||
|
|
Loading…
Reference in New Issue