Skip to content
Snippets Groups Projects
Commit 8fc934de authored by Brad King's avatar Brad King
Browse files

GNU-FindBinUtils: Avoid setting policy CMP0054

The `cmake_policy(SET)` call triggers `CMP0011` warnings when this
module is used in a project that does not set `CMP0011` to NEW.  We
could avoid these with a `cmake_policy` PUSH/POP pair, but it is simpler
to adjust our code to not trigger `CMP0054` in the first place.
parent b9d36826
No related branches found
No related tags found
No related merge requests found
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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment