mdbx-cmake: включение CMP0054.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2024-11-24 17:15:20 +03:00
parent 3110c2206f
commit 6508bd5a97

View File

@ -57,6 +57,8 @@ else()
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_AVAILABLE FALSE)
endif()
cmake_policy(SET CMP0054 NEW)
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git"
AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/COPYRIGHT"
AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE"