I'll answer the same way I answered in the CMake mailing list that you
posted the SAME question to.
Use find_package(..) then use the variables that FindBoost.cmake
provides you. Consult the original reply from me in the CMake Mailing
list for the rest of the answer.
If you choose to ignore the
motes motes wrote:
I am trying to build an application using boost with CMake on Ubuntu
9.04. This is the content of my CMakeList.txt file:
IF(Boost_unit_test_framework_LIBRARY)
I think it'd be easier to emulate the way some of the other libraries do
it using the unit test framework. See fo
I am trying to build an application using boost with CMake on Ubuntu
9.04. This is the content of my CMakeList.txt file:
cmake_minimum_required(VERSION 2.6)
IF(Boost_unit_test_framework_LIBRARY)
GET_FILENAME_COMPONENT(LIB_EXTENSION ${Boost_unit_test_framework_LIBRARY} EXT)
IF(LIB_EXTENSI