we need a module configuration file in order to use boost in bundles and modules
Description
Event Timeline
first version commited in rev 18450.
@Klaus and Thiago: please have a look at FindBoost.cmake in the Modules directory of your CMake installation. There are a lot of features, please check what you could need.
Right now I am only using the function
::boost::math::legendre_p
which requires boost version 1.35 or higher
.\mbi\Modules\DiffusionImaging\Reconstruction\itkAnalyticalDiffusionQballReconstructionImageFilter.cpp
@Klaus and Thiago, please have a look at FindBoost:
#Usage of this module as follows:
- SET(Boost_USE_STATIC_LIBS ON)
- SET(Boost_USE_MULTITHREAD OFF)
- FIND_PACKAGE( Boost 1.34.1 COMPONENTS date_time filesystem iostreams ... ) #
Which *COMPONENTS*_ do yuo need, which other parameters should be set?
Can you please try the patch and add
PACKAGE_DEPENDS Boost
to your MITK_CREATE_MODULE CMake call?
[73091b]: Merge branch 'bug-2299-boost-config'
Merged commits:
2011-03-16 17:07:12 Marco Nolden [9df6db]
Specified which boost modules should be included
[238bbc]: Merge branch 'bug-2299-boost-config'
Merged commits:
2011-03-18 13:01:26 Klaus Fritzsche [0e6560]
removed boost from cmake ALL_LIBRARIES and link directories
since we only use boost headers this should suffice.
Component specification is also not needed if there are
only boost headers in use.