mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
defbfd6f55
In commit 878ae03832 (macOS: IMPORTED framework: Honor SYSTEM target
property in all cases, 2023-08-27, v3.28.0-rc1~162^2) we broke support
for `IMPORTED_LOCATION_<CONFIG>` without `IMPORTED_CONFIGURATIONS`.
Previously it worked if the importing project's configurations match the
set of `IMPORTED_LOCATION_<CONFIG>` properties set. Fix that case.
Fixes: #25506
Issue: #25515
36 lines
1.0 KiB
CMake
36 lines
1.0 KiB
CMake
include(RunCMake)
|
|
set(RunCMake_IGNORE_POLICY_VERSION_DEPRECATION ON)
|
|
|
|
if(RunCMake_GENERATOR_IS_MULTI_CONFIG)
|
|
set(RunCMake_TEST_OPTIONS -DCMAKE_CONFIGURATION_TYPES=Debug)
|
|
else()
|
|
set(RunCMake_TEST_OPTIONS -DCMAKE_BUILD_TYPE=Debug)
|
|
endif()
|
|
run_cmake(ConfigCase)
|
|
unset(RunCMake_TEST_OPTIONS)
|
|
|
|
run_cmake(CMP0023-WARN)
|
|
run_cmake(CMP0023-NEW)
|
|
run_cmake(CMP0023-WARN-2)
|
|
run_cmake(CMP0023-NEW-2)
|
|
run_cmake(CMP0079-iface-WARN)
|
|
run_cmake(CMP0079-iface-OLD)
|
|
run_cmake(CMP0079-iface-NEW)
|
|
run_cmake(CMP0079-link-WARN)
|
|
run_cmake(CMP0079-link-OLD)
|
|
run_cmake(CMP0079-link-NEW)
|
|
run_cmake(CMP0079-link-NEW-bogus)
|
|
run_cmake(CMP0108-OLD-self-link)
|
|
run_cmake(CMP0108-NEW-self-link)
|
|
run_cmake(ImportedTarget)
|
|
run_cmake(ImportedTargetStub)
|
|
run_cmake(ImportedTargetFailure)
|
|
run_cmake(ImportedTargetPerConfig)
|
|
run_cmake(MixedSignature)
|
|
run_cmake(Separate-PRIVATE-LINK_PRIVATE-uses)
|
|
run_cmake(SharedDepNotTarget)
|
|
run_cmake(StaticPrivateDepNotExported)
|
|
run_cmake(StaticPrivateDepNotTarget)
|
|
run_cmake(UNKNOWN-IMPORTED-GLOBAL)
|
|
run_cmake(empty_keyword_args)
|