Merge pull request #3933 from ethereum/jsoncpp-cmake

Fixes jsoncpp compilation when it is also installed system-wide
This commit is contained in:
Alex Beregszaszi
2018-04-20 21:10:24 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -21,6 +21,7 @@ include(EthCcache)
# Let's find our dependencies
include(EthDependencies)
include(jsoncpp)
include_directories(${JSONCPP_INCLUDE_DIR})
find_package(Threads)
+1 -1
View File
@@ -2,4 +2,4 @@ file(GLOB sources "*.cpp")
file(GLOB headers "*.h")
add_library(evmasm ${sources} ${headers})
target_link_libraries(evmasm PUBLIC jsoncpp devcore)
target_link_libraries(evmasm PUBLIC devcore)