Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move actor-stacksize from teshsuite to examples now that it's of some interest to...
[simgrid.git] / tools / graphicator / CMakeLists.txt
index c66b778edbe6a16fd24aaa988e8ded67fff51b27..4c526be29bd1f70762e0d350e9271bad2f88cb6f 100644 (file)
@@ -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)