minetest/src/json/CMakeLists.txt
SmallJoker ecc514f11b Build and link gmp correctly on MSVC
Also optimize json's library
2015-05-12 21:07:46 +02:00

8 lines
138 B
CMake

if(MSVC)
set(CMAKE_CXX_FLAGS_RELEASE "/MT /O2 /Ob2 /D NDEBUG")
endif()
add_library(jsoncpp jsoncpp.cpp)
target_link_libraries(jsoncpp)