Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make it compile on 32bits, to please @degomme
[simgrid.git] / tools / graphicator / CMakeLists.txt
index a17561f..11336b0 100644 (file)
@@ -1,5 +1,3 @@
-cmake_minimum_required(VERSION 2.6)
-
 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin")
 
 add_executable(graphicator graphicator.c)
@@ -7,9 +5,9 @@ add_executable(graphicator graphicator.c)
 ### Add definitions for compile
 if(NOT WIN32)
   target_link_libraries(graphicator simgrid m pthread )
-else(NOT WIN32)
+else()
   target_link_libraries(graphicator simgrid )
-endif(NOT WIN32)
+endif()
 
 ## Clean generated files
 get_directory_property(extra_clean_files ADDITIONAL_MAKE_CLEAN_FILES)