mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Tests: Consolidate RunCMake.target_link_libraries-LINK_LIBRARY conditions
This commit is contained in:
committed by
Brad King
parent
6491bd5a5f
commit
0f784069c3
@@ -119,10 +119,10 @@ if(APPLE AND (CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID MATCHES
|
||||
run_cmake_with_options(apple_library "-DRunCMake_BINARY_DIR=${RunCMake_BINARY_DIR}")
|
||||
run_cmake_target(apple_library reexport_library main-reexport_library)
|
||||
run_cmake_target(apple_library weak_library main-weak_library)
|
||||
endif()
|
||||
|
||||
if (CMAKE_C_COMPILER_ID STREQUAL "AppleClang" AND CMAKE_C_COMPILER_VERSION GREATER_EQUAL "12")
|
||||
run_cmake_target(apple_library needed_library main-needed_library)
|
||||
if (CMAKE_C_COMPILER_ID STREQUAL "AppleClang" AND CMAKE_C_COMPILER_VERSION GREATER_EQUAL "12")
|
||||
run_cmake_target(apple_library needed_library main-needed_library)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# WHOLE_ARCHIVE feature
|
||||
|
||||
Reference in New Issue
Block a user