diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2019-04-04 19:31:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-05 14:29:18 (GMT) |
commit | b0fc2993e11fb8b4bcf8a44e6d165f5634ad21bb (patch) | |
tree | 4edc06330f992ba7b4da48408c59daa3156212c0 /Modules/CMakeCXXCompiler.cmake.in | |
parent | 988f9971006d09d675f8d406367d9021915ef9c0 (diff) | |
download | CMake-b0fc2993e11fb8b4bcf8a44e6d165f5634ad21bb.zip CMake-b0fc2993e11fb8b4bcf8a44e6d165f5634ad21bb.tar.gz CMake-b0fc2993e11fb8b4bcf8a44e6d165f5634ad21bb.tar.bz2 |
Treat the '.mpp' file extension as C++ code
This is the extension required in build2 for C++ module support.
Diffstat (limited to 'Modules/CMakeCXXCompiler.cmake.in')
-rw-r--r-- | Modules/CMakeCXXCompiler.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCXXCompiler.cmake.in b/Modules/CMakeCXXCompiler.cmake.in index 92ae2ab..45acfe7 100644 --- a/Modules/CMakeCXXCompiler.cmake.in +++ b/Modules/CMakeCXXCompiler.cmake.in @@ -44,7 +44,7 @@ if(CMAKE_COMPILER_IS_MINGW) set(MINGW 1) endif() set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP) +set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP) set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) foreach (lang C OBJC OBJCXX) |