aboutsummaryrefslogtreecommitdiff
path: root/ports/geogram/fix-windows-dynamic.patch
blob: 8df3b906f1f55bd28c8b97f9432b13083b85b1a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
diff --git a/src/lib/geogram/CMakeLists.txt b/src/lib/geogram/CMakeLists.txt
index 49cb2ba..82c2f39 100755
--- a/src/lib/geogram/CMakeLists.txt
+++ b/src/lib/geogram/CMakeLists.txt
@@ -62,3 +62,6 @@ if(WIN32)
 endif()
+if(WIN32 AND VORPALINE_BUILD_DYNAMIC)
+    target_compile_definitions(geogram PUBLIC GEO_DYNAMIC_LIBS)
+endif()
 
 # Install the library