mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-28 18:28:49 +08:00
mdbx-cmake: включение CMP0054.
This commit is contained in:
parent
3110c2206f
commit
6508bd5a97
@ -57,6 +57,8 @@ else()
|
|||||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_AVAILABLE FALSE)
|
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_AVAILABLE FALSE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
cmake_policy(SET CMP0054 NEW)
|
||||||
|
|
||||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git"
|
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git"
|
||||||
AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/COPYRIGHT"
|
AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/COPYRIGHT"
|
||||||
AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE"
|
AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user