Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cmake: customizable installation directories
[simgrid.git] / tools / graphicator / CMakeLists.txt
index 7c03fac..4c526be 100644 (file)
@@ -5,7 +5,7 @@ if(enable_msg)
   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)