summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Apple-GNU.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2024-05-08 15:08:10 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2024-05-15 08:02:36 (GMT)
commit6e5e7968c344e5461e0d6376d62247b8b29ef114 (patch)
treed8a24394f7cc28a38dc5402cfce5b84b34757574 /Modules/Platform/Apple-GNU.cmake
parentb56c083a547d5ca84ac14249531b89dc3e47bfb2 (diff)
downloadCMake-6e5e7968c344e5461e0d6376d62247b8b29ef114.zip
CMake-6e5e7968c344e5461e0d6376d62247b8b29ef114.tar.gz
CMake-6e5e7968c344e5461e0d6376d62247b8b29ef114.tar.bz2
GenEx $<LINK_LIBRARY>: Add the support of properties attached to features
Fixes: #24504, #25954
Diffstat (limited to 'Modules/Platform/Apple-GNU.cmake')
-rw-r--r--Modules/Platform/Apple-GNU.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Apple-GNU.cmake b/Modules/Platform/Apple-GNU.cmake
index 15f6a71..20b18ad 100644
--- a/Modules/Platform/Apple-GNU.cmake
+++ b/Modules/Platform/Apple-GNU.cmake
@@ -17,6 +17,7 @@ macro(__apple_compiler_gnu lang)
set(CMAKE_${lang}_LINK_LIBRARY_USING_FRAMEWORK "-framework <LIBRARY>")
set(CMAKE_${lang}_LINK_LIBRARY_USING_FRAMEWORK_SUPPORTED TRUE)
+ set(CMAKE_LINK_LIBRARY_FRAMEWORK_PROPERTIES LIBRARY_TYPE=STATIC,SHARED UNICITY=DEFAULT OVERRIDE=DEFAULT)
set(CMAKE_${lang}_USING_LINKER_SYSTEM "")
set(CMAKE_${lang}_USING_LINKER_APPLE_CLASSIC "LINKER:-ld_classic")