Fix Windows static build

This commit is contained in:
Todor Prokopov 2022-12-19 18:34:43 +02:00
parent 268fdd7fc2
commit 2d2b221306

View File

@ -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}>