diff options
author | Christian Parpart <christian@parpart.family> | 2018-07-10 21:12:32 +0800 |
---|---|---|
committer | Christian Parpart <christian@parpart.family> | 2018-07-11 01:10:29 +0800 |
commit | 230317e9ff97ba3b110a95bd22c2656b42fc70b6 (patch) | |
tree | 2088a208511bb1348fca962cf7362bd0614c4fe3 /cmake/jsoncpp.cmake | |
parent | 0e9415bc31fa379b2c6cc8c8dba6b6ba1305391b (diff) | |
download | dexon-solidity-230317e9ff97ba3b110a95bd22c2656b42fc70b6.tar dexon-solidity-230317e9ff97ba3b110a95bd22c2656b42fc70b6.tar.gz dexon-solidity-230317e9ff97ba3b110a95bd22c2656b42fc70b6.tar.bz2 dexon-solidity-230317e9ff97ba3b110a95bd22c2656b42fc70b6.tar.lz dexon-solidity-230317e9ff97ba3b110a95bd22c2656b42fc70b6.tar.xz dexon-solidity-230317e9ff97ba3b110a95bd22c2656b42fc70b6.tar.zst dexon-solidity-230317e9ff97ba3b110a95bd22c2656b42fc70b6.zip |
Visual Studio 2017 build-time (linking) fix and improvements
Diffstat (limited to 'cmake/jsoncpp.cmake')
-rw-r--r-- | cmake/jsoncpp.cmake | 4 |
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} ) |