summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorGrzegorz Dobinski <snibod@protonmail.com>2018-02-16 22:07:26 (GMT)
committerBrad King <brad.king@kitware.com>2018-02-20 16:52:11 (GMT)
commitcab9af7e9754a0a0aa718e3e467152c1524e805c (patch)
tree608f48dd0b4cb0f409d9a776e6d59408644f960d /Modules/Compiler
parent9c1efb614dee294cb3a1077e8a232573f309c605 (diff)
downloadCMake-cab9af7e9754a0a0aa718e3e467152c1524e805c.zip
CMake-cab9af7e9754a0a0aa718e3e467152c1524e805c.tar.gz
CMake-cab9af7e9754a0a0aa718e3e467152c1524e805c.tar.bz2
Compiler/TI: Fix depfile generation for C++
In commit v3.11.0-rc1~466^2 (Compiler/TI: Add support for depfile generation for Ninja, 2017-10-16) the flag for C++ was added in a variable with a typo in its name. Fix the spelling. Issue: #17360
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/TI-CXX.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/TI-CXX.cmake b/Modules/Compiler/TI-CXX.cmake
index 8b0069b..4c6af06 100644
--- a/Modules/Compiler/TI-CXX.cmake
+++ b/Modules/Compiler/TI-CXX.cmake
@@ -2,7 +2,7 @@ set(CMAKE_LIBRARY_PATH_FLAG "--search_path=")
set(CMAKE_LINK_LIBRARY_FLAG "--library=")
set(CMAKE_INCLUDE_FLAG_CXX "--include_path=")
-set(CMAKE_DEPFILE_FLAGS_CCX "--preproc_with_compile --preproc_dependency=<DEPFILE>")
+set(CMAKE_DEPFILE_FLAGS_CXX "--preproc_with_compile --preproc_dependency=<DEPFILE>")
set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> --compile_only --skip_assembler --cpp_file=<SOURCE> <DEFINES> <INCLUDES> <FLAGS> --output_file=<ASSEMBLY_SOURCE>")
set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> --preproc_only --cpp_file=<SOURCE> <DEFINES> <INCLUDES> <FLAGS> --output_file=<PREPROCESSED_SOURCE>")