From 010f000c723c7f453d87a2b912140841c8b104e0 Mon Sep 17 00:00:00 2001 From: gal kahana Date: Fri, 17 Mar 2023 12:12:01 +0200 Subject: [PATCH] dropping LibAesgm to allow linking on PDFWriter when shared libs --- LibAesgm/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibAesgm/CMakeLists.txt b/LibAesgm/CMakeLists.txt index cb51e392..b61a84db 100644 --- a/LibAesgm/CMakeLists.txt +++ b/LibAesgm/CMakeLists.txt @@ -30,7 +30,7 @@ target_include_directories(LibAesgm ) if(WIN32 AND BUILD_SHARED_LIBS) - target_compile_definitions(LibAesgm INTERFACE DLL_IMPORT) + # target_compile_definitions(LibAesgm INTERFACE DLL_IMPORT) # Not sure i understand completely why, but with this PDFWriter cant link target_compile_definitions(LibAesgm PRIVATE DLL_EXPORT) endif()