mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Fix Windows static build
This commit is contained in:
parent
268fdd7fc2
commit
2d2b221306
@ -80,8 +80,10 @@ if(NOT MSVC)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
if(ZINT_SHARED)
|
||||
target_compile_definitions(zint PRIVATE DLL_EXPORT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
zint_target_include_directories(PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
|
Loading…
Reference in New Issue
Block a user