libboost und cmake - findet nur mt
-
Hallo!
Ich habe folgendes in meiner CMakeLists.txt:include(FindBoost) set(Boost_USE_MULTITHREADED OFF) find_package(Boost REQUIRED COMPONENTS thread) if(Boost_THREAD_FOUND) MESSAGE(STATUS "Found BOOST_THREAD: ${BOOST_THREAD_LIBRARY}") include_directories(${Boost_INCLUDE_DIRS}) target_link_libraries(icefeeder ${Boost_THREAD_LIBRARY}) endif()
Doch beim Ausführen von cmake wird nur
-- Found BOOST_THREAD: /usr/lib/libboost_thread-mt.so
ausgegeben, obwohl ich doch MULTITHREADED deaktiviert habe.
Ich benutze das Modul von cmake-2.6 auf Debian Squeeze.
Warum nimmt er trotzdem mt?