diff --git a/CMakeLists.txt b/CMakeLists.txt index c78e88a..55d3605 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -346,7 +346,7 @@ endif() target_link_libraries(${LIBRARY_NAME} ${LINK_LIBS}) add_library(${PROJECT_NAME}::${LIBRARY_NAME} ALIAS ${LIBRARY_NAME}) # Allow users to link StormLib::storm when using add_subdirectory -target_compile_definitions(${LIBRARY_NAME} INTERFACE STORMLIB_NO_AUTO_LINK) #CMake will take care of the linking +target_compile_definitions(${LIBRARY_NAME} INTERFACE __STORMLIB_NO_STATIC_LINK__) #CMake will take care of the linking target_include_directories(${LIBRARY_NAME} PUBLIC $) set_target_properties(${LIBRARY_NAME} PROPERTIES PUBLIC_HEADER "src/StormLib.h;src/StormPort.h") if(BUILD_SHARED_LIBS) diff --git a/src/DllMain.def b/src/DllMain.def index 0315607..38d1156 100644 --- a/src/DllMain.def +++ b/src/DllMain.def @@ -18,6 +18,7 @@ EXPORTS SFileCloseArchive SFileAddListFile + SFileAddListFileEntries SFileSetCompactCallback SFileCompactArchive diff --git a/src/StormLib.exp b/src/StormLib.exp index bf370aa..188958e 100644 --- a/src/StormLib.exp +++ b/src/StormLib.exp @@ -13,6 +13,7 @@ _SFileFlushArchive _SFileCloseArchive _SFileAddListFile +_SFileAddListFileEntries _SFileSetCompactCallback _SFileCompactArchive