diff options
author | Brad King <brad.king@kitware.com> | 2021-05-26 18:22:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-26 19:43:38 (GMT) |
commit | 2ae72ef74b1a8b3034c4685de68f39d1e198a84c (patch) | |
tree | dfb679eab0966fd6a64f3859f593fad279723c14 /Tests/RunCMake/add_library | |
parent | c5657a2fe42a0de7a5724507888f9f6f1afff8ea (diff) | |
download | CMake-2ae72ef74b1a8b3034c4685de68f39d1e198a84c.zip CMake-2ae72ef74b1a8b3034c4685de68f39d1e198a84c.tar.gz CMake-2ae72ef74b1a8b3034c4685de68f39d1e198a84c.tar.bz2 |
Xcode: Enable multi-arch TARGET_OBJECTS genex in [INTERFACE_]LINK_LIBRARIES
This was an oversight in the original implementation.
Diffstat (limited to 'Tests/RunCMake/add_library')
-rw-r--r-- | Tests/RunCMake/add_library/RunCMakeTest.cmake | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Tests/RunCMake/add_library/RunCMakeTest.cmake b/Tests/RunCMake/add_library/RunCMakeTest.cmake index dfadb8f..3283625 100644 --- a/Tests/RunCMake/add_library/RunCMakeTest.cmake +++ b/Tests/RunCMake/add_library/RunCMakeTest.cmake @@ -16,11 +16,9 @@ run_cmake(SHAREDwithOnlyObjectSources) run_cmake(MODULEwithOnlyObjectSources) run_cmake(UNKNOWNwithOnlyObjectSources) -if(NOT RunCMake_GENERATOR STREQUAL "Xcode" OR NOT "$ENV{CMAKE_OSX_ARCHITECTURES}" MATCHES "[;$]") - run_cmake(INTERFACEwithNoSourcesButLinkObjects) - run_cmake(OBJECTwithNoSourcesButLinkObjects) - run_cmake(STATICwithNoSourcesButLinkObjects) - run_cmake(SHAREDwithNoSourcesButLinkObjects) - run_cmake(MODULEwithNoSourcesButLinkObjects) - run_cmake(UNKNOWNwithNoSourcesButLinkObjects) -endif() +run_cmake(INTERFACEwithNoSourcesButLinkObjects) +run_cmake(OBJECTwithNoSourcesButLinkObjects) +run_cmake(STATICwithNoSourcesButLinkObjects) +run_cmake(SHAREDwithNoSourcesButLinkObjects) +run_cmake(MODULEwithNoSourcesButLinkObjects) +run_cmake(UNKNOWNwithNoSourcesButLinkObjects) |