aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido Vranken <guidovranken@gmail.com>2018-07-19 06:05:45 +0800
committerchriseth <chris@ethereum.org>2018-09-13 00:57:02 +0800
commitd2d9162bb95c2d3eb2ae57422b24ca5c3b69a935 (patch)
tree95609f165c1897ab23817b56b7957b7d7012b8e4
parent72b9ad6837b6d080e1646dbbd58219630fbf0021 (diff)
downloaddexon-solidity-d2d9162bb95c2d3eb2ae57422b24ca5c3b69a935.tar
dexon-solidity-d2d9162bb95c2d3eb2ae57422b24ca5c3b69a935.tar.gz
dexon-solidity-d2d9162bb95c2d3eb2ae57422b24ca5c3b69a935.tar.bz2
dexon-solidity-d2d9162bb95c2d3eb2ae57422b24ca5c3b69a935.tar.lz
dexon-solidity-d2d9162bb95c2d3eb2ae57422b24ca5c3b69a935.tar.xz
dexon-solidity-d2d9162bb95c2d3eb2ae57422b24ca5c3b69a935.tar.zst
dexon-solidity-d2d9162bb95c2d3eb2ae57422b24ca5c3b69a935.zip
Propagate original CMAKE_CXX_FLAGS to jsoncpp compilation
-rw-r--r--cmake/jsoncpp.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/jsoncpp.cmake b/cmake/jsoncpp.cmake
index e886c609..a6ca0e7f 100644
--- a/cmake/jsoncpp.cmake
+++ b/cmake/jsoncpp.cmake
@@ -34,7 +34,7 @@ ExternalProject_Add(jsoncpp-project
-DCMAKE_POSITION_INDEPENDENT_CODE=${BUILD_SHARED_LIBS}
-DJSONCPP_WITH_TESTS=OFF
-DJSONCPP_WITH_PKGCONFIG_SUPPORT=OFF
- -DCMAKE_CXX_FLAGS=${JSONCPP_EXTRA_FLAGS}
+ -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} ${JSONCPP_EXTRA_FLAGS}
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
${byproducts}
)