dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #20085
libboost_thread, mac os x and cmake
-
To:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
From:
Andre Massing <massing@xxxxxxxxx>
-
Date:
Wed, 10 Nov 2010 17:41:23 +0100
-
User-agent:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; nb-NO; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
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