diff options
author | Guido Vranken <guidovranken@gmail.com> | 2018-07-19 06:05:45 +0800 |
---|---|---|
committer | Guido Vranken <guidovranken@gmail.com> | 2018-07-19 06:05:45 +0800 |
commit | 096cac5e6538bb85c3c51fca013ef4bb2cbcf974 (patch) | |
tree | 6c720e6f1bb11f3ced412baff767730468efd332 /cmake | |
parent | ccb5fccee5f7eea8993f2cbc77217abbccae36ce (diff) | |
download | dexon-solidity-096cac5e6538bb85c3c51fca013ef4bb2cbcf974.tar.gz dexon-solidity-096cac5e6538bb85c3c51fca013ef4bb2cbcf974.tar.zst dexon-solidity-096cac5e6538bb85c3c51fca013ef4bb2cbcf974.zip |
Propagate original CMAKE_CXX_FLAGS to jsoncpp compilation
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/jsoncpp.cmake | 2 |
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} ) |