mirror of
https://github.com/boostorg/url.git
synced 2026-01-19 04:42:15 +00:00
build: root project sets CMAKE_RUNTIME_OUTPUT_DIRECTORY
This commit is contained in:
committed by
Alan de Freitas
parent
e804dde18d
commit
45670fc997
@@ -97,6 +97,9 @@ if (BOOST_URL_IS_ROOT)
|
||||
# Create Boost interface targets
|
||||
if (BOOST_SRC_DIR_IS_VALID)
|
||||
# From BOOST_SRC_DIR
|
||||
if (BUILD_SHARED_LIBS)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||
endif()
|
||||
set(BOOST_EXCLUDE_LIBRARIES ${PROJECT_NAME})
|
||||
set(PREV_BUILD_TESTING ${BUILD_TESTING})
|
||||
set(BUILD_TESTING OFF CACHE BOOL "Build the tests." FORCE)
|
||||
|
||||
Reference in New Issue
Block a user