Skip to content

Commit

Permalink
dropping LibAesgm to allow linking on PDFWriter when shared libs
Browse files Browse the repository at this point in the history
  • Loading branch information
galkahana committed Mar 17, 2023
1 parent 859e084 commit 010f000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibAesgm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 010f000

Please sign in to comment.