From 68797991fb1dba935d51802462e84fd76ea218f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Sroczy=C5=84ski?= Date: Sun, 14 Sep 2025 13:49:56 +0000 Subject: [PATCH 1/2] Remove mfc dependency --- DevIL/src-IL/msvc/IL.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevIL/src-IL/msvc/IL.rc b/DevIL/src-IL/msvc/IL.rc index 8bfadf9c..75778bae 100644 --- a/DevIL/src-IL/msvc/IL.rc +++ b/DevIL/src-IL/msvc/IL.rc @@ -7,7 +7,7 @@ // // Generated from the TEXTINCLUDE 2 resource. // -#include "afxres.h" +#include "windows.h" ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS From 049b133aaef992e4c39eeaa307f38744a1ea27a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Sroczy=C5=84ski?= Date: Sun, 14 Sep 2025 13:50:32 +0000 Subject: [PATCH 2/2] Fix build static libraries --- DevIL/src-ILU/CMakeLists.txt | 2 +- DevIL/src-ILUT/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DevIL/src-ILU/CMakeLists.txt b/DevIL/src-ILU/CMakeLists.txt index 44b9531b..b6ba248e 100644 --- a/DevIL/src-ILU/CMakeLists.txt +++ b/DevIL/src-ILU/CMakeLists.txt @@ -43,7 +43,7 @@ source_group("Header Files" FILES ${ILU_INC} ) source_group("Resource Files" FILES ${ILU_RSRC} ) # Remove SHARED to create a static library -add_library(ILU SHARED ${ILU_SRCS} ${ILU_INC} ${ILU_RSRC}) +add_library(ILU ${ILU_SRCS} ${ILU_INC} ${ILU_RSRC}) set_target_properties(ILU PROPERTIES SOVERSION 1) diff --git a/DevIL/src-ILUT/CMakeLists.txt b/DevIL/src-ILUT/CMakeLists.txt index 63662bc6..cd460c1f 100644 --- a/DevIL/src-ILUT/CMakeLists.txt +++ b/DevIL/src-ILUT/CMakeLists.txt @@ -63,7 +63,7 @@ source_group("Header Files" FILES ${ILUT_INC} ) source_group("Resource Files" FILES ${ILUT_RSRC} ) # Remove SHARED to create a static library -add_library(ILUT SHARED ${ILUT_SRCS} ${ILUT_INC} ${ILUT_RSRC}) +add_library(ILUT ${ILUT_SRCS} ${ILUT_INC} ${ILUT_RSRC}) set_target_properties(ILUT PROPERTIES SOVERSION 1) ## add link sub library info