mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
CMake: Set CMP0042 to NEW
This should not affect solidity, but with this setting all supported CMake version will use NEW policy are will be allowed to use RPATH on macOS.
This commit is contained in:
parent
33e22dc8bb
commit
7cd00e3630
@ -6,8 +6,7 @@ macro (eth_policy)
|
||||
|
||||
if (${CMAKE_VERSION} VERSION_GREATER 3.0)
|
||||
|
||||
# fix MACOSX_RPATH
|
||||
cmake_policy(SET CMP0042 OLD)
|
||||
cmake_policy(SET CMP0042 NEW)
|
||||
|
||||
# ignore COMPILE_DEFINITIONS_<Config> properties
|
||||
cmake_policy(SET CMP0043 OLD)
|
||||
|
Loading…
Reference in New Issue
Block a user