← Back to team overview

dolfin team mailing list archive

libboost_thread, mac os x and cmake

 

Hi!

I just run into the problem that libboost_thread stemming from macports (uses boost 1.44 atm) was not found by cmake build system. The crucial line in CMakeLists.txt is on line 157 find_package(Boost 1.36 COMPONENTS filesystem program_options system thread REQUIRED)
changing it into
find_package(Boost 1.36 COMPONENTS filesystem program_options system thread-mt REQUIRED) ^^^^^^ resolved the issue, but I have no clue how to generally deal with that on other platforms where this lib does
not have the -mt ending.

Cheers,
Andre



Follow ups