X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e7fd02bb2873388f1cacd8458104c37db9068208..1332eeef69c684e25023f8ec40d9df13484f9430:/tools/graphicator/CMakeLists.txt diff --git a/tools/graphicator/CMakeLists.txt b/tools/graphicator/CMakeLists.txt index c66b778edb..4c526be29b 100644 --- a/tools/graphicator/CMakeLists.txt +++ b/tools/graphicator/CMakeLists.txt @@ -1,11 +1,11 @@ -if(enable_MSG) +if(enable_msg) add_executable (graphicator graphicator.c) add_dependencies (tests graphicator) target_link_libraries(graphicator simgrid) set_target_properties(graphicator PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) ADD_TESH(graphicator --setenv srcdir=${CMAKE_HOME_DIRECTORY} --setenv bindir=${CMAKE_BINARY_DIR}/bin --cd ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/graphicator.tesh) - install(TARGETS graphicator DESTINATION bin/) + install(TARGETS graphicator DESTINATION ${CMAKE_INSTALL_BINDIR}/) ## Clean generated files get_directory_property(extra_clean_files ADDITIONAL_MAKE_CLEAN_FILES)