mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 05:09:01 +08:00
16 lines
404 B
Diff
16 lines
404 B
Diff
diff --git a/backend/CMakeLists.txt b/backend/CMakeLists.txt
|
|
index d779033..133abef 100644
|
|
--- a/backend/CMakeLists.txt
|
|
+++ b/backend/CMakeLists.txt
|
|
@@ -80,7 +80,9 @@ if(NOT MSVC)
|
|
endif()
|
|
|
|
if(MSVC)
|
|
- target_compile_definitions(zint PRIVATE DLL_EXPORT)
|
|
+ if(ZINT_SHARED)
|
|
+ target_compile_definitions(zint PRIVATE DLL_EXPORT)
|
|
+ endif()
|
|
endif()
|
|
|
|
zint_target_include_directories(PUBLIC
|