1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-17 10:25:21 +02:00
Files
luanti/src/gmp/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
127 B
CMake

if(MSVC)
set(CMAKE_C_FLAGS_RELEASE "/MT /O2 /Ob2 /D NDEBUG")
endif()
add_library(gmp mini-gmp.c)
target_link_libraries(gmp)