MantisBT - CMake
View Issue Details
0005057CMakeModulespublic2007-05-18 05:572008-07-03 16:00
Mike Talbot 
Bill Hoffman 
normalfeaturealways
closedfixed 
 
CMake-2-6 
0005057: FindBoost.cmake enhancement
I have added some (basic) support for boost libraries in FindBoost.cmake, so that you should be able to do something like this:

FIND_PACKAGE(Boost)

INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
ADD_EXECUTABLE(signal signal.cpp)
TARGET_LINK_LIBRARIES(signal ${Boost_signal_LIBRARIES})
No tags attached.
? FindBoost.cmake (10,504) 1969-12-31 19:00
https://public.kitware.com/Bug/file/1006/FindBoost.cmake
diff FindBoost.cmake.diff (1,045) 1969-12-31 19:00
https://public.kitware.com/Bug/file/1023/FindBoost.cmake.diff
Issue History
2007-08-23 14:05Alex NeundorfCategoryCMake => Modules
2008-04-22 13:34Douglas GregorStatusassigned => resolved
2008-04-22 13:34Douglas GregorFixed in Version => CMake-2-6
2008-04-22 13:34Douglas GregorResolutionopen => fixed
2008-04-22 13:34Douglas GregorNote Added: 0011489
2008-07-03 16:00Douglas GregorStatusresolved => closed

Notes
(0007810)
Gert Wollny   
2007-06-06 12:55   
The .diff adds unit_test_framework to the lists of libraries, and removes a bug when no suffix is given at all. In the latter case, a trailing "-" was added to the library name.
(0011489)
Douglas Gregor   
2008-04-22 13:34   
This is handled by using the COMPONENTS feature in the new FindBoost.