diff options
author | Brad King <brad.king@kitware.com> | 2017-03-10 16:00:46 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-03-10 16:00:49 (GMT) |
commit | 0b2438118ad93479de09f0d7a0e9b77859f9a9c3 (patch) | |
tree | b96d2f8a878fc31af066ab69ddf7cfde0d8bac75 /Modules | |
parent | 29ec8d65f2815bbe4b47c59c5483a9934b92898b (diff) | |
parent | 8fc934de0e9667a83712ab7b460d63c309b86571 (diff) | |
download | CMake-0b2438118ad93479de09f0d7a0e9b77859f9a9c3.zip CMake-0b2438118ad93479de09f0d7a0e9b77859f9a9c3.tar.gz CMake-0b2438118ad93479de09f0d7a0e9b77859f9a9c3.tar.bz2 |
Merge topic 'GNU-FindBinUtils-no-policy'
8fc934de GNU-FindBinUtils: Avoid setting policy CMP0054
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !572
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/GNU-FindBinUtils.cmake | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/Compiler/GNU-FindBinUtils.cmake b/Modules/Compiler/GNU-FindBinUtils.cmake index e314eb9..466d4cf 100644 --- a/Modules/Compiler/GNU-FindBinUtils.cmake +++ b/Modules/Compiler/GNU-FindBinUtils.cmake @@ -1,6 +1,4 @@ -cmake_policy(SET CMP0054 NEW) - -if("${_CMAKE_PROCESSING_LANGUAGE}" STREQUAL "") +if(NOT DEFINED _CMAKE_PROCESSING_LANGUAGE OR _CMAKE_PROCESSING_LANGUAGE STREQUAL "") message(FATAL_ERROR "Internal error: _CMAKE_PROCESSING_LANGUAGE is not set") endif() |