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 build with MC
[simgrid.git]
/
teshsuite
/
mc
/
dwarf
/
CMakeLists.txt
diff --git
a/teshsuite/mc/dwarf/CMakeLists.txt
b/teshsuite/mc/dwarf/CMakeLists.txt
index
00e46e9
..
6d15d78
100644
(file)
--- a/
teshsuite/mc/dwarf/CMakeLists.txt
+++ b/
teshsuite/mc/dwarf/CMakeLists.txt
@@
-1,19
+1,7
@@
-cmake_minimum_required(VERSION 2.6)
-
if(HAVE_MC)
if(HAVE_MC)
- set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
-
- add_executable(dwarf dwarf.cpp)
+ add_executable (dwarf dwarf.cpp)
target_link_libraries(dwarf simgrid)
endif()
target_link_libraries(dwarf simgrid)
endif()
-set(tesh_files
- ${tesh_files}
- ${CMAKE_CURRENT_SOURCE_DIR}/dwarf.tesh
- PARENT_SCOPE
- )
-set(testsuite_src
- ${testsuite_src}
- ${CMAKE_CURRENT_SOURCE_DIR}/dwarf.cpp
- PARENT_SCOPE
- )
+set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/dwarf.tesh PARENT_SCOPE)
+set(testsuite_src ${testsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/dwarf.cpp PARENT_SCOPE)