From 0a38c55c199e0dc01192be45eab32bebe15a76bf Mon Sep 17 00:00:00 2001 From: sha512sum Date: Thu, 26 Sep 2024 15:59:54 +0000 Subject: [PATCH] Use CMAKE_BINARY_DIR for examples output --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()