From de5152941cf8db2cb18448dbf9c15f6b91d86b78 Mon Sep 17 00:00:00 2001 From: Jean-Manuel Caba Date: Mon, 12 Jul 2010 20:13:51 +0000 Subject: [PATCH] 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 --- vlsisapd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlsisapd/CMakeLists.txt b/vlsisapd/CMakeLists.txt index c74bdd51..f7552860 100644 --- a/vlsisapd/CMakeLists.txt +++ b/vlsisapd/CMakeLists.txt @@ -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)