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

Bug CMakeLists (pb macro pout boost)

parent 23fbb587
......@@ -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})
......@@ -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} )
Supports Markdown
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