summaryrefslogtreecommitdiff
path: root/lib/gmp/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gmp/CMakeLists.txt')
-rw-r--r--lib/gmp/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/gmp/CMakeLists.txt b/lib/gmp/CMakeLists.txt
new file mode 100644
index 000000000..96ae8191d
--- /dev/null
+++ b/lib/gmp/CMakeLists.txt
@@ -0,0 +1,7 @@
+if(MSVC)
+ set(CMAKE_C_FLAGS_RELEASE "/MT /O2 /Ob2 /D NDEBUG")
+endif()
+
+add_library(gmp mini-gmp.c)
+target_link_libraries(gmp)
+