Add .rc file to Windows backend build.

This commit is contained in:
Jeff Skaistis 2021-10-21 09:53:22 -05:00
parent e8b59aa696
commit d151f29ee5

View File

@ -15,6 +15,10 @@ set(zint_SRCS ${zint_OUTPUT_SRCS} ${zint_COMMON_SRCS} ${zint_ONEDIM_SRCS} ${zint
add_library(zint SHARED ${zint_SRCS}) add_library(zint SHARED ${zint_SRCS})
if(WIN32)
target_sources(${PROJECT_NAME} PRIVATE libzint.rc)
endif()
if(ZINT_STATIC) if(ZINT_STATIC)
add_library(zint-static STATIC ${zint_SRCS}) add_library(zint-static STATIC ${zint_SRCS})
endif() endif()