mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #3933 from ethereum/jsoncpp-cmake
Fixes jsoncpp compilation when it is also installed system-wide
This commit is contained in:
commit
c8167a9acd
@ -21,6 +21,7 @@ include(EthCcache)
|
|||||||
# Let's find our dependencies
|
# Let's find our dependencies
|
||||||
include(EthDependencies)
|
include(EthDependencies)
|
||||||
include(jsoncpp)
|
include(jsoncpp)
|
||||||
|
include_directories(${JSONCPP_INCLUDE_DIR})
|
||||||
|
|
||||||
find_package(Threads)
|
find_package(Threads)
|
||||||
|
|
||||||
|
@ -2,4 +2,4 @@ file(GLOB sources "*.cpp")
|
|||||||
file(GLOB headers "*.h")
|
file(GLOB headers "*.h")
|
||||||
|
|
||||||
add_library(evmasm ${sources} ${headers})
|
add_library(evmasm ${sources} ${headers})
|
||||||
target_link_libraries(evmasm PUBLIC jsoncpp devcore)
|
target_link_libraries(evmasm PUBLIC devcore)
|
||||||
|
Loading…
Reference in New Issue
Block a user