mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 06:29:07 +08:00
1054567984
* [geogram] Fix windows dynamic build usage * [geogram] Add version db entry Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
12 lines
367 B
Diff
12 lines
367 B
Diff
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
|