X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1d3bb007d52c72d2f2fd5a636d4792d4e5f9427d..b71f4fef475d61e6b5e954588e09c9a926963d01:/teshsuite/gras/datadesc/CMakeLists.txt diff --git a/teshsuite/gras/datadesc/CMakeLists.txt b/teshsuite/gras/datadesc/CMakeLists.txt index e154e2e569..d54b5700c4 100644 --- a/teshsuite/gras/datadesc/CMakeLists.txt +++ b/teshsuite/gras/datadesc/CMakeLists.txt @@ -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 -target_link_libraries(datadesc_usage gras m pthread -fprofile-arcs) +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