summaryrefslogtreecommitdiff
path: root/Modules/Compiler/QCC.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2018-04-30 18:56:25 +0200
committerMarc Chevrier <marc.chevrier@gmail.com>2018-06-06 17:22:41 +0200
commit66ea1a3795f76ce921bc48f82ff228bcceed4524 (patch)
tree48d060e55c547dc5d06fcccba7186bb5beb4fc13 /Modules/Compiler/QCC.cmake
parentc1f5a44b28047cde74e2fb10e8d68e314272f699 (diff)
downloadcmake-66ea1a3795f76ce921bc48f82ff228bcceed4524.tar.gz
LINK_OPTIONS: Add support of "LINKER:" prefix
Diffstat (limited to 'Modules/Compiler/QCC.cmake')
-rw-r--r--Modules/Compiler/QCC.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Compiler/QCC.cmake b/Modules/Compiler/QCC.cmake
index 0da7050ba5..5cdedeb457 100644
--- a/Modules/Compiler/QCC.cmake
+++ b/Modules/Compiler/QCC.cmake
@@ -13,6 +13,9 @@ macro(__compiler_qcc lang)
set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-Wp,-isystem,")
set(CMAKE_DEPFILE_FLAGS_${lang} "-Wc,-MD,<DEPFILE>,-MT,<OBJECT>,-MF,<DEPFILE>")
+ set(CMAKE_${lang}_LINKER_WRAPPER_FLAG "-Wl,")
+ set(CMAKE_${lang}_LINKER_WRAPPER_FLAG_SEP ",")
+
set(_CMAKE_${lang}_IPO_SUPPORTED_BY_CMAKE NO)
set(_CMAKE_${lang}_IPO_MAY_BE_SUPPORTED_BY_COMPILER NO)