mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Set CMP0115 to new in EthPolicy
This commit is contained in:
parent
ecdc808e67
commit
6e1f0e73b6
@ -25,4 +25,10 @@ macro (eth_policy)
|
|||||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
|
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
|
||||||
cmake_policy(SET CMP0135 NEW)
|
cmake_policy(SET CMP0135 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(POLICY CMP0115)
|
||||||
|
# speedup of cmake command on Windows
|
||||||
|
# https://gitlab.kitware.com/cmake/cmake/-/issues/23154
|
||||||
|
cmake_policy(SET CMP0115 NEW)
|
||||||
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
Loading…
Reference in New Issue
Block a user