Skip to content

Commit

Permalink
[CMake] Drop setting of CMP0054 policy to OLD behavior
Browse files Browse the repository at this point in the history
This does not seem to be necessary. Eventually CMake will remove
the old behavior, so it's better to switch to the new behavior.
See "cmake --help-policy CMP0054" for information on this policy.
  • Loading branch information
amadio committed Nov 8, 2022
1 parent 0a5c36b commit 4177404
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ set( CMAKE_MODULE_PATH
${PROJECT_SOURCE_DIR}/src
${PROJECT_SOURCE_DIR}/cmake )

if(NOT (CMAKE_VERSION VERSION_LESS "3.1"))
cmake_policy(SET CMP0054 OLD)
endif()


#-------------------------------------------------------------------------------
# A 'plugins' phony target to simplify building build-tree binaries.
# Plugins are responsible for adding themselves to this target, where
Expand Down

0 comments on commit 4177404

Please sign in to comment.