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
Fix non-Linux builds
[simgrid.git]
/
tools
/
cmake
/
Distrib.cmake
diff --git
a/tools/cmake/Distrib.cmake
b/tools/cmake/Distrib.cmake
index
6a144b1
..
5095296
100644
(file)
--- a/
tools/cmake/Distrib.cmake
+++ b/
tools/cmake/Distrib.cmake
@@
-43,7
+43,9
@@
add_custom_target(simgrid_convert_TI_traces ALL
# libraries
install(TARGETS simgrid DESTINATION ${CMAKE_INSTALL_LIBDIR}/)
# libraries
install(TARGETS simgrid DESTINATION ${CMAKE_INSTALL_LIBDIR}/)
-install(TARGETS sthread DESTINATION ${CMAKE_INSTALL_LIBDIR}/)
+if("${CMAKE_SYSTEM}" MATCHES "Linux")
+ install(TARGETS sthread DESTINATION ${CMAKE_INSTALL_LIBDIR}/)
+endif()
# pkg-config files
configure_file("${CMAKE_HOME_DIRECTORY}/tools/pkg-config/simgrid.pc.in"
# pkg-config files
configure_file("${CMAKE_HOME_DIRECTORY}/tools/pkg-config/simgrid.pc.in"