Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix linking of storage example on Windows.
[simgrid.git] / examples / msg / io / CMakeLists.txt
index 42c3f2b..b8c0a04 100644 (file)
@@ -11,12 +11,13 @@ add_executable(remote remote.c)
 if(NOT WIN32)
   target_link_libraries(file simgrid pthread)
   target_link_libraries(file_unlink simgrid pthread)
 if(NOT WIN32)
   target_link_libraries(file simgrid pthread)
   target_link_libraries(file_unlink simgrid pthread)
-  target_link_libraries(storage simgrid pthread)
   target_link_libraries(remote simgrid pthread)
   target_link_libraries(remote simgrid pthread)
+  target_link_libraries(storage simgrid pthread)
 else()
   target_link_libraries(file simgrid)
   target_link_libraries(file_unlink simgrid)
   target_link_libraries(remote simgrid)
 else()
   target_link_libraries(file simgrid)
   target_link_libraries(file_unlink simgrid)
   target_link_libraries(remote simgrid)
+  target_link_libraries(storage simgrid)
 endif()
 
 set(tesh_files
 endif()
 
 set(tesh_files