diff options
author | Maikel van den Hurk <maikel.vandenhurk@tomtom.com> | 2018-10-27 20:27:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-29 16:50:55 (GMT) |
commit | 99728fe27c993d8482fb55a4780670767d5fab72 (patch) | |
tree | af9a1c63e9e5a6d9c6f54d8ba6be0e9f26e43baa /Modules/Compiler | |
parent | fd02538974dd952a8639d371c2c0067d30d5469a (diff) | |
download | CMake-99728fe27c993d8482fb55a4780670767d5fab72.zip CMake-99728fe27c993d8482fb55a4780670767d5fab72.tar.gz CMake-99728fe27c993d8482fb55a4780670767d5fab72.tar.bz2 |
QNX: Update qcc depfile flags to be compliant with ccache
Pass the flags to the preprocessor phase via `-Wp,`. This is
accepted both by qcc and ccache.
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/QCC.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/QCC.cmake b/Modules/Compiler/QCC.cmake index 9ba9900..9df8269 100644 --- a/Modules/Compiler/QCC.cmake +++ b/Modules/Compiler/QCC.cmake @@ -11,7 +11,7 @@ macro(__compiler_qcc lang) set(CMAKE_${lang}_COMPILE_OPTIONS_TARGET "-V") set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-Wp,-isystem,") - set(CMAKE_DEPFILE_FLAGS_${lang} "-Wc,-MD,<DEPFILE>,-MT,<OBJECT>,-MF,<DEPFILE>") + set(CMAKE_DEPFILE_FLAGS_${lang} "-Wp,-MD,<DEPFILE> -Wp,-MT,<OBJECT> -Wp,-MF,<DEPFILE>") set(CMAKE_${lang}_LINKER_WRAPPER_FLAG "-Wl,") set(CMAKE_${lang}_LINKER_WRAPPER_FLAG_SEP ",") |