From d151f29ee5d2e54f10a18623e79ad56df0cea4f0 Mon Sep 17 00:00:00 2001 From: Jeff Skaistis Date: Thu, 21 Oct 2021 09:53:22 -0500 Subject: [PATCH] Add .rc file to Windows backend build. --- backend/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/CMakeLists.txt b/backend/CMakeLists.txt index c79eabea..b90e9db4 100644 --- a/backend/CMakeLists.txt +++ b/backend/CMakeLists.txt @@ -15,6 +15,10 @@ set(zint_SRCS ${zint_OUTPUT_SRCS} ${zint_COMMON_SRCS} ${zint_ONEDIM_SRCS} ${zint add_library(zint SHARED ${zint_SRCS}) +if(WIN32) + target_sources(${PROJECT_NAME} PRIVATE libzint.rc) +endif() + if(ZINT_STATIC) add_library(zint-static STATIC ${zint_SRCS}) endif()