1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-17 10:25:21 +02: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:
SmallJoker
2015-04-29 19:28:25 +02:00
committed by est31
parent 37ca3212ee
commit 6626a3f72f
3 changed files with 16 additions and 2 deletions

View File

@@ -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)