A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A change in cmake 3.16 makes this syntax necessary.
[simgrid.git]
/
tools
/
cmake
/
MakeLib.cmake
diff --git
a/tools/cmake/MakeLib.cmake
b/tools/cmake/MakeLib.cmake
index
480b934
..
3ddbb8e
100644
(file)
--- a/
tools/cmake/MakeLib.cmake
+++ b/
tools/cmake/MakeLib.cmake
@@
-60,7
+60,7
@@
if (HAVE_BOOST_ADDR2LINE_BACKTRACE)
endif()
if(CMAKE_USE_PTHREADS_INIT)
-
set(SIMGRID_DEP "${SIMGRID_DEP} ${CMAKE_THREAD_LIBS_INIT}"
)
+
target_link_libraries(simgrid ${CMAKE_THREAD_LIBS_INIT}
)
endif()
if(SIMGRID_HAVE_LUA)