Re: [CMake] Problems with CMake and Boost in Ubuntu 9.04

2009-10-03 Thread Mike Jackson
Isn't there a static library for the unit-testing also: libboost_test_exec_monitor-xgcc42-mt-1_39 which also needs to be linked. That library is only static so it may not be picked up by the -DBOOST_TEST_DYN_LINK flag. For my unit testing I usually have the following: SET (TEST_Boost_LIBS ${Boost_

[CMake] Problems with CMake and Boost in Ubuntu 9.04

2009-10-03 Thread motes motes
I am trying to build an application with CMake using Boost and the boost unit-testing framework in Ubuntu 9.04. I have installed boost from synaptic. Here is what I have in my CMakeList.txt file: IF(Boost_unit_test_framework_LIBRARY) GET_FILENAME_COMPONENT(LIB_EXTENSION ${Boost_unit_test_frame