From f2eeaff64ae86f228dc09552e518ec60d94b1c51 Mon Sep 17 00:00:00 2001 From: Justin F Date: Wed, 4 Mar 2026 19:15:14 -0600 Subject: [PATCH 1/2] Add SFileAddListFileEntries to exports --- src/DllMain.def | 1 + src/StormLib.exp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/DllMain.def b/src/DllMain.def index 03156073..38d11565 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 bf370aaf..188958ea 100644 --- a/src/StormLib.exp +++ b/src/StormLib.exp @@ -13,6 +13,7 @@ _SFileFlushArchive _SFileCloseArchive _SFileAddListFile +_SFileAddListFileEntries _SFileSetCompactCallback _SFileCompactArchive From 720941a94c66a4157bd368fdca361d143e9db63d Mon Sep 17 00:00:00 2001 From: Justin F Date: Wed, 4 Mar 2026 19:17:20 -0600 Subject: [PATCH 2/2] Update auto link variable name in cmake to match new name --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c78e88ac..55d36052 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)