Commit 19fce084 authored by CGoGN GIT Supervisor's avatar CGoGN GIT Supervisor

Bug CMakeLists (pb macro pout boost)

parent 23fbb587
...@@ -77,7 +77,8 @@ target_link_libraries( tp_master ...@@ -77,7 +77,8 @@ target_link_libraries( tp_master
#BOOST_LIBS macro: allow using compiled boost in windows (see readme) #BOOST_LIBS macro: allow using compiled boost in windows (see readme)
# -first argument variable that will contain the libs # -first argument variable that will contain the libs
# -second argument list of boost libs separated by ; in " " # -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) QT4_WRAP_CPP(tuto_mt_moc tuto_mt.h)
add_executable( tuto_mt tuto_mt.cpp ${tuto_mt_moc}) add_executable( tuto_mt tuto_mt.cpp ${tuto_mt_moc})
......
...@@ -66,7 +66,6 @@ ELSE(WIN32) ...@@ -66,7 +66,6 @@ ELSE(WIN32)
MACRO(BOOST_LIBS lib_lists names) MACRO(BOOST_LIBS lib_lists names)
SET (${lib_lists}) SET (${lib_lists})
FOREACH(name ${names}) FOREACH(name ${names})
STRING(REGEX REPLACE "-mt" $ENV{boost_libs_extension} newname ${name})
SET (${lib_lists} ${${lib_lists}} ${name} ) SET (${lib_lists} ${${lib_lists}} ${name} )
ENDFOREACH(name) ENDFOREACH(name)
ENDMACRO(BOOST_LIBS) ENDMACRO(BOOST_LIBS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment