From 19fce084509040ed735f055065aec56c2ef1e136 Mon Sep 17 00:00:00 2001 From: CGoGN GIT Supervisor Date: Mon, 9 May 2011 13:57:50 +0200 Subject: [PATCH] Bug CMakeLists (pb macro pout boost) --- Apps/Tuto/CMakeLists.txt | 3 ++- build/CMakeLists.txt | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Apps/Tuto/CMakeLists.txt b/Apps/Tuto/CMakeLists.txt index 0f3612270..127ae229d 100644 --- a/Apps/Tuto/CMakeLists.txt +++ b/Apps/Tuto/CMakeLists.txt @@ -77,7 +77,8 @@ target_link_libraries( tp_master #BOOST_LIBS macro: allow using compiled boost in windows (see readme) # -first argument variable that will contain the libs # -second argument list of boost libs separated by ; in " " -BOOST_LIBS(boost_lib_lists "boost_thread-mt;boost_iostreams-mt") +# exemple: BOOST_LIBS(boost_lib_lists "boost_thread-mt;boost_iostreams-mt") +BOOST_LIBS(boost_lib_lists "boost_thread-mt") QT4_WRAP_CPP(tuto_mt_moc tuto_mt.h) add_executable( tuto_mt tuto_mt.cpp ${tuto_mt_moc}) diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index 39ceda0d3..719769f2e 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -66,7 +66,6 @@ ELSE(WIN32) MACRO(BOOST_LIBS lib_lists names) SET (${lib_lists}) FOREACH(name ${names}) - STRING(REGEX REPLACE "-mt" $ENV{boost_libs_extension} newname ${name}) SET (${lib_lists} ${${lib_lists}} ${name} ) ENDFOREACH(name) ENDMACRO(BOOST_LIBS) -- GitLab