Use CMAKE_BINARY_DIR for examples output
This commit is contained in:
parent
a5a0d5a031
commit
0a38c55c19
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ if(ENABLE_EXAMPLES)
|
||||||
target_link_libraries(${EXAMPLE_NAME} larra_xmpp)
|
target_link_libraries(${EXAMPLE_NAME} larra_xmpp)
|
||||||
set_property(TARGET ${EXAMPLE_NAME} PROPERTY CXX_STANDARD 23)
|
set_property(TARGET ${EXAMPLE_NAME} PROPERTY CXX_STANDARD 23)
|
||||||
set_target_properties(${EXAMPLE_NAME} PROPERTIES
|
set_target_properties(${EXAMPLE_NAME} PROPERTIES
|
||||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/examples/output")
|
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples/output")
|
||||||
endforeach()
|
endforeach()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue