diff options
Diffstat (limited to 'dev-lang/solidity/files/solidity-0.4.18-fix-cmake-external-jsoncpp.diff')
-rw-r--r-- | dev-lang/solidity/files/solidity-0.4.18-fix-cmake-external-jsoncpp.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-lang/solidity/files/solidity-0.4.18-fix-cmake-external-jsoncpp.diff b/dev-lang/solidity/files/solidity-0.4.18-fix-cmake-external-jsoncpp.diff new file mode 100644 index 000000000000..1acafc9d9e36 --- /dev/null +++ b/dev-lang/solidity/files/solidity-0.4.18-fix-cmake-external-jsoncpp.diff @@ -0,0 +1,15 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 24bea3b3..4326927b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -18,7 +18,9 @@ include(EthCcache) + + # Let's find our dependencies + include(EthDependencies) +-include(jsoncpp) ++find_package(PkgConfig REQUIRED) ++pkg_check_modules(JSONCPP jsoncpp) ++include_directories("${JSONCPP_INCLUDE_DIRS}") + + find_package(Threads) + |