mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +00:00
Build and link gmp correctly on MSVC
Also optimize json's library
This commit is contained in:
parent
75622c30be
commit
ecc514f11b
2 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue