Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sauvage
CGoGN
Commits
19fce084
Commit
19fce084
authored
May 09, 2011
by
CGoGN GIT Supervisor
Browse files
Bug CMakeLists (pb macro pout boost)
parent
23fbb587
Changes
2
Hide whitespace changes
Inline
Side-by-side
Apps/Tuto/CMakeLists.txt
View file @
19fce084
...
...
@@ -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
}
)
...
...
build/CMakeLists.txt
View file @
19fce084
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment