mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +00:00
Fix several MSVC issues numeric.h
-> Round negative numbers correctly CMakeLists.txt -> Link Json with the static run-time library
This commit is contained in:
parent
37ca3212ee
commit
6626a3f72f
3 changed files with 16 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
|||
add_library(jsoncpp jsoncpp.cpp)
|
||||
if(MSVC)
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "/MT")
|
||||
endif()
|
||||
|
||||
add_library(jsoncpp jsoncpp.cpp)
|
||||
target_link_libraries(jsoncpp)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue