diff options
-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() |