only modify CMAKE_RUNTIME_OUTPUT_DIRECTORY if it is not already set

This commit is contained in:
Jordan Williams 2020-02-06 19:39:23 -06:00 committed by Victor Zverovich
parent 43e9b29e50
commit c54cd71800

View File

@ -61,7 +61,9 @@ message(STATUS "Version: ${FMT_VERSION}")
message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
if (NOT CMAKE_RUNTIME_OUTPUT_DIRECTORY)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
endif ()
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
"${CMAKE_CURRENT_SOURCE_DIR}/support/cmake")