summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-07-12 12:41:20 (GMT)
committerBrad King <brad.king@kitware.com>2018-07-12 12:41:20 (GMT)
commit730c8b87275ca9a95f90cea745532f49d6fdd05d (patch)
tree99b13735503f632d38e9a041f11acc1e53f9c668
parentf974000d93798af1e3bd183985ec6f5159664f76 (diff)
parente014df762b41e61b423e56637667a050be3a78e7 (diff)
downloadCMake-730c8b87275ca9a95f90cea745532f49d6fdd05d.zip
CMake-730c8b87275ca9a95f90cea745532f49d6fdd05d.tar.gz
CMake-730c8b87275ca9a95f90cea745532f49d6fdd05d.tar.bz2
Merge branch 'qnx_fix' into release-3.12
Merge-request: !2205
-rw-r--r--Modules/Compiler/QCC.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/QCC.cmake b/Modules/Compiler/QCC.cmake
index 0da7050..a5e2b0b 100644
--- a/Modules/Compiler/QCC.cmake
+++ b/Modules/Compiler/QCC.cmake
@@ -16,6 +16,8 @@ macro(__compiler_qcc lang)
set(_CMAKE_${lang}_IPO_SUPPORTED_BY_CMAKE NO)
set(_CMAKE_${lang}_IPO_MAY_BE_SUPPORTED_BY_COMPILER NO)
+ set(CMAKE_${lang}_COMPILER_PREDEFINES_COMMAND "${CMAKE_${lang}_COMPILER}" "-Wp,-dM" "-E" "-c" "${CMAKE_ROOT}/Modules/CMakeCXXCompilerABI.cpp")
+
unset(CMAKE_${lang}_COMPILE_OPTIONS_IPO)
unset(CMAKE_${lang}_ARCHIVE_CREATE_IPO)
unset(CMAKE_${lang}_ARCHIVE_APPEND_IPO)