diff --git a/CMakeLists.txt b/CMakeLists.txt index f6b8804..c687087 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -197,7 +197,7 @@ if(ENABLE_EXAMPLES) target_link_libraries(${EXAMPLE_NAME} larra_xmpp) set_property(TARGET ${EXAMPLE_NAME} PROPERTY CXX_STANDARD 23) set_target_properties(${EXAMPLE_NAME} PROPERTIES - RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/examples/output") + RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/output") endforeach() endif()