Remove outdated/deprecated CMake policy (#6854)

This commit is contained in:
Dennis Luxen 2024-05-05 22:08:40 +02:00 committed by GitHub
parent befd9dc5ae
commit d691af4860
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,9 +49,6 @@ endif()
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
# be compatible with version handling before cmake 3.x
if (POLICY CMP0048)
cmake_policy(SET CMP0048 OLD)
endif()
if (POLICY CMP0057)
cmake_policy(SET CMP0057 NEW)
endif()