]> AND Public Git Repository - simgrid.git/blobdiff - teshsuite/gras/datadesc/CMakeLists.txt
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move datadesc and TCP sockets from GRAS to XBT.
[simgrid.git] / teshsuite / gras / datadesc / CMakeLists.txt
index e9e0aef472ea7ff999dbaa9763ce21e7d49fa064..d54b5700c44b89fb97090ba977eaff4e0be902c6 100644 (file)
@@ -1,8 +1,12 @@
 cmake_minimum_required(VERSION 2.6)
 
-set(EXECUTABLE_OUTPUT_PATH "${PROJECT_DIRECTORY}/teshsuite/gras/datadesc/")
+set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 
 add_executable(datadesc_usage datadesc_usage.c datadesc_structs.c)
 
 ### Add definitions for compile
+if(NOT WIN32)
 target_link_libraries(datadesc_usage gras m pthread)
+elseif(NOT WIN32)
+target_link_libraries(datadesc_usage gras)
+endif(NOT WIN32)
\ No newline at end of file