mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 03:59:33 +00:00
Merge pull request #9126
e7629dc
CMake: only set policy CMP0148 to OLD if version >= 3.27 (jeffro256)
This commit is contained in:
commit
059028a30a
1 changed files with 3 additions and 2 deletions
|
@ -40,8 +40,9 @@ include(CheckCXXCompilerFlag)
|
|||
include(CheckLinkerFlag)
|
||||
include(CheckLibraryExists)
|
||||
include(CheckFunctionExists)
|
||||
|
||||
cmake_policy(SET CMP0148 OLD)
|
||||
if (POLICY CMP0148)
|
||||
cmake_policy(SET CMP0148 OLD) # https://cmake.org/cmake/help/latest/policy/CMP0148.html
|
||||
endif()
|
||||
include(FindPythonInterp)
|
||||
|
||||
if (IOS)
|
||||
|
|
Loading…
Reference in a new issue