Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow out of source builds
[simgrid.git] / examples / gras / properties / CMakeLists.txt
index 8435d42..111947c 100644 (file)
@@ -5,7 +5,7 @@ set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/_properties_simulator.c
                                                        ${CMAKE_CURRENT_BINARY_DIR}/_properties_bob.c
                                                        PROPERTIES GENERATED true)
 
-set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_SOURCE_DIR}")
+set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 
 add_executable(properties_simulator ${CMAKE_CURRENT_BINARY_DIR}/_properties_simulator.c
                                                                        ${CMAKE_CURRENT_SOURCE_DIR}/properties.c)