Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update CMakeLists for windows
[simgrid.git] / examples / gras / mutual_exclusion / simple_token / CMakeLists.txt
index d668d586cd5c5cc0b46404667433f41fa8398fdf..71985fece632ceba6deff96cc92cbdccc27b0066 100644 (file)
@@ -19,6 +19,12 @@ add_custom_command(
                                        )
 
 ### Add definitions for compile
+if(NOT WIN32)
 target_link_libraries(simple_token_simulator simgrid pthread m )
 target_link_libraries(simple_token_node gras pthread m )
+else(NOT WIN32)
+target_link_libraries(simple_token_simulator simgrid)
+target_link_libraries(simple_token_node gras)
+endif(NOT WIN32)
+