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