Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Simgrid already has this dependency (and handles this better for win build)
authordegomme <augustin.degomme@unibas.ch>
Wed, 16 Mar 2016 09:31:53 +0000 (10:31 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Wed, 16 Mar 2016 09:31:59 +0000 (10:31 +0100)
examples/smpi/NAS/CMakeLists.txt

index b4de3b0..1ff6af4 100644 (file)
@@ -7,11 +7,11 @@ if(enable_smpi)
 
   include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
   add_executable       (is is.c nas_common.c)
 
   include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
   add_executable       (is is.c nas_common.c)
-  target_link_libraries(is simgrid m)
+  target_link_libraries(is simgrid)
   add_executable       (ep ep.c nas_common.c)
   add_executable       (ep ep.c nas_common.c)
-  target_link_libraries(ep simgrid m)
+  target_link_libraries(ep simgrid)
   add_executable       (dt dt.c nas_common.c DGraph.c)
   add_executable       (dt dt.c nas_common.c DGraph.c)
-  target_link_libraries(dt simgrid m)
+  target_link_libraries(dt simgrid)
 endif()
 
 set(examples_src  ${examples_src}  ${CMAKE_CURRENT_SOURCE_DIR}/nas_common.h
 endif()
 
 set(examples_src  ${examples_src}  ${CMAKE_CURRENT_SOURCE_DIR}/nas_common.h
@@ -22,4 +22,4 @@ set(examples_src  ${examples_src}  ${CMAKE_CURRENT_SOURCE_DIR}/nas_common.h
                                    ${CMAKE_CURRENT_SOURCE_DIR}/DGraph.c
                                    ${CMAKE_CURRENT_SOURCE_DIR}/DGraph.h
                                                                               PARENT_SCOPE)
                                    ${CMAKE_CURRENT_SOURCE_DIR}/DGraph.c
                                    ${CMAKE_CURRENT_SOURCE_DIR}/DGraph.h
                                                                               PARENT_SCOPE)
-set(txt_files     ${txt_files}    ${CMAKE_CURRENT_SOURCE_DIR}/README.install  PARENT_SCOPE)
\ No newline at end of file
+set(txt_files     ${txt_files}    ${CMAKE_CURRENT_SOURCE_DIR}/README.install  PARENT_SCOPE)