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
Solve problem with lib name of java ruby and lua.
[simgrid.git]
/
buildtools
/
Cmake
/
src
/
CMakeMakeExeLib.txt
diff --git
a/buildtools/Cmake/src/CMakeMakeExeLib.txt
b/buildtools/Cmake/src/CMakeMakeExeLib.txt
index
e5810ab
..
def28f4
100644
(file)
--- a/
buildtools/Cmake/src/CMakeMakeExeLib.txt
+++ b/
buildtools/Cmake/src/CMakeMakeExeLib.txt
@@
-10,7
+10,7
@@
else(supernovae)
endif(supernovae)
set(GRAS_DEP "pthread")
endif(supernovae)
set(GRAS_DEP "pthread")
-set(SIMGRID_DEP
"ruby1.8"
)
+set(SIMGRID_DEP
${libruby}
)
set(SMPI_DEP "")
if(HAVE_RUBY_H)
set(SMPI_DEP "")
if(HAVE_RUBY_H)
@@
-43,8
+43,8
@@
if(HAVE_GTNETS)
endif(HAVE_GTNETS)
if(NOT HAVE_RUBY_H)
endif(HAVE_GTNETS)
if(NOT HAVE_RUBY_H)
- string(REPLACE "
ruby1.8
-l" "" SIMGRID_DEP ${SIMGRID_DEP})
- string(REPLACE "
ruby1.8
" "" SIMGRID_DEP ${SIMGRID_DEP})
+ string(REPLACE "
${libruby}
-l" "" SIMGRID_DEP ${SIMGRID_DEP})
+ string(REPLACE "
${libruby}
" "" SIMGRID_DEP ${SIMGRID_DEP})
endif(NOT HAVE_RUBY_H)
target_link_libraries(simgrid ${SIMGRID_DEP} -fprofile-arcs)
endif(NOT HAVE_RUBY_H)
target_link_libraries(simgrid ${SIMGRID_DEP} -fprofile-arcs)