Merge pull request #241 from PatriceJiang/v3.6-fix-boost-container

Fix iOS archive error
This commit is contained in:
江战 2022-04-01 13:37:02 +08:00 committed by GitHub
commit 12edb5dd27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -31,7 +31,11 @@ else()
endif()
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
add_subdirectory(test)
endif()
if(APPLE)
set_target_properties(boost_container PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/archives
)
endif()