mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
jsonrpc option in cmakes, removed all warnings
This commit is contained in:
parent
33ac800c01
commit
8f3f5275c0
@ -1,4 +1,10 @@
|
||||
cmake_policy(SET CMP0015 NEW)
|
||||
# this policy was introduced in cmake 3.0
|
||||
# remove if, once 3.0 will be used on unix
|
||||
if (APPLE)
|
||||
# old policy do not use MACOSX_RPATH
|
||||
cmake_policy(SET CMP0042 OLD)
|
||||
endif()
|
||||
set(CMAKE_AUTOMOC OFF)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTATICLIB")
|
||||
|
Loading…
Reference in New Issue
Block a user