aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/jsoncpp.cmake
diff options
context:
space:
mode:
authorChristian Parpart <christian@parpart.family>2018-07-11 03:37:58 +0800
committerGitHub <noreply@github.com>2018-07-11 03:37:58 +0800
commit49cc1b855464d428f022267b5997dfc093ea1b44 (patch)
treebb5b9aa4624f0c590e1b8a7df4e837b60bfe79b7 /cmake/jsoncpp.cmake
parent12045d2e110348950c81963adcd1a6fe6b42143f (diff)
parent230317e9ff97ba3b110a95bd22c2656b42fc70b6 (diff)
downloaddexon-solidity-49cc1b855464d428f022267b5997dfc093ea1b44.tar
dexon-solidity-49cc1b855464d428f022267b5997dfc093ea1b44.tar.gz
dexon-solidity-49cc1b855464d428f022267b5997dfc093ea1b44.tar.bz2
dexon-solidity-49cc1b855464d428f022267b5997dfc093ea1b44.tar.lz
dexon-solidity-49cc1b855464d428f022267b5997dfc093ea1b44.tar.xz
dexon-solidity-49cc1b855464d428f022267b5997dfc093ea1b44.tar.zst
dexon-solidity-49cc1b855464d428f022267b5997dfc093ea1b44.zip
Merge pull request #4470 from ethereum/vs2017-build-fix-ideal
Visual Studio 2017 build-time (linking) fix and improvements
Diffstat (limited to 'cmake/jsoncpp.cmake')
-rw-r--r--cmake/jsoncpp.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake/jsoncpp.cmake b/cmake/jsoncpp.cmake
index 0c110b53..e886c609 100644
--- a/cmake/jsoncpp.cmake
+++ b/cmake/jsoncpp.cmake
@@ -35,9 +35,7 @@ ExternalProject_Add(jsoncpp-project
-DJSONCPP_WITH_TESTS=OFF
-DJSONCPP_WITH_PKGCONFIG_SUPPORT=OFF
-DCMAKE_CXX_FLAGS=${JSONCPP_EXTRA_FLAGS}
- # Overwrite build and install commands to force Release build on MSVC.
- BUILD_COMMAND cmake --build <BINARY_DIR> --config Release
- INSTALL_COMMAND cmake --build <BINARY_DIR> --config Release --target install
+ -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
${byproducts}
)