diff options
author | SmallJoker <mk939@ymail.com> | 2015-05-12 20:38:56 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-05-12 21:07:46 +0200 |
commit | ecc514f11b77690bc1d2d782c8f00a9b045b4f4f (patch) | |
tree | 9caabc942a43c80bbcd621d0300415c1a42df7bd /src/json | |
parent | 75622c30beb390b7ed578010a00390aa971b3951 (diff) | |
download | minetest-ecc514f11b77690bc1d2d782c8f00a9b045b4f4f.tar.gz minetest-ecc514f11b77690bc1d2d782c8f00a9b045b4f4f.tar.bz2 minetest-ecc514f11b77690bc1d2d782c8f00a9b045b4f4f.zip |
Build and link gmp correctly on MSVC
Also optimize json's library
Diffstat (limited to 'src/json')
-rw-r--r-- | src/json/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json/CMakeLists.txt b/src/json/CMakeLists.txt index de99c7f0c..9056e4b6d 100644 --- a/src/json/CMakeLists.txt +++ b/src/json/CMakeLists.txt @@ -1,5 +1,5 @@ if(MSVC) - set(CMAKE_CXX_FLAGS_RELEASE "/MT") + set(CMAKE_CXX_FLAGS_RELEASE "/MT /O2 /Ob2 /D NDEBUG") endif() add_library(jsoncpp jsoncpp.cpp) |