diff options
author | Christian Pfeiffer <cpfeiffer@live.de> | 2018-01-22 16:55:25 (GMT) |
---|---|---|
committer | Christian Pfeiffer <cpfeiffer@live.de> | 2018-01-23 11:46:08 (GMT) |
commit | cd3e1600224a51cbc56b0d546a6f8486f1cf8d31 (patch) | |
tree | 7d13f54b45a7b41cf77f00939fc4fbd6805e9a1d /Modules/CMakeCXXInformation.cmake | |
parent | 5c3c70201d225359e235e53132788e6f75c2661b (diff) | |
download | CMake-cd3e1600224a51cbc56b0d546a6f8486f1cf8d31.zip CMake-cd3e1600224a51cbc56b0d546a6f8486f1cf8d31.tar.gz CMake-cd3e1600224a51cbc56b0d546a6f8486f1cf8d31.tar.bz2 |
GenericSystem: Remove misspelled flag default
In CMakeGenericSystem, it should be ``CMAKE_INCLUDE_SEP_<LANG>`` and not
``CMAKE_INCLUDE_<LANG>_SEP``. However, if the flag is defined, include
behavior changes to Java-style non-repeating flags, which isn't
intended. Therefore, removing the (misspelled) default initialization
should help remove confusion and unintended side effects.
Diffstat (limited to 'Modules/CMakeCXXInformation.cmake')
-rw-r--r-- | Modules/CMakeCXXInformation.cmake | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/CMakeCXXInformation.cmake b/Modules/CMakeCXXInformation.cmake index 31ccef7..9ac9560 100644 --- a/Modules/CMakeCXXInformation.cmake +++ b/Modules/CMakeCXXInformation.cmake @@ -158,10 +158,6 @@ if(NOT CMAKE_INCLUDE_FLAG_CXX) set(CMAKE_INCLUDE_FLAG_CXX ${CMAKE_INCLUDE_FLAG_C}) endif() -if(NOT CMAKE_INCLUDE_FLAG_SEP_CXX) - set(CMAKE_INCLUDE_FLAG_SEP_CXX ${CMAKE_INCLUDE_FLAG_SEP_C}) -endif() - # for most systems a module is the same as a shared library # so unless the variable CMAKE_MODULE_EXISTS is set just # copy the values from the LIBRARY variables |