static.patch 934 B

123456789101112131415161718192021222324
  1. diff --git a/DevIL/src-ILU/CMakeLists.txt b/DevIL/src-ILU/CMakeLists.txt
  2. --- a/DevIL/src-ILU/CMakeLists.txt
  3. +++ b/DevIL/src-ILU/CMakeLists.txt
  4. @@ -43,7 +43,7 @@ source_group("Header Files" FILES ${ILU_INC} )
  5. source_group("Resource Files" FILES ${ILU_RSRC} )
  6. # Remove SHARED to create a static library
  7. -add_library(ILU SHARED ${ILU_SRCS} ${ILU_INC} ${ILU_RSRC})
  8. +add_library(ILU ${ILU_SRCS} ${ILU_INC} ${ILU_RSRC})
  9. ## ILU requires IL
  10. diff --git a/DevIL/src-ILUT/CMakeLists.txt b/DevIL/src-ILUT/CMakeLists.txt
  11. --- a/DevIL/src-ILUT/CMakeLists.txt
  12. +++ b/DevIL/src-ILUT/CMakeLists.txt
  13. @@ -43,7 +43,7 @@ source_group("Header Files" FILES ${ILUT_INC} )
  14. source_group("Resource Files" FILES ${ILUT_RSRC} )
  15. # Remove SHARED to create a static library
  16. -add_library(ILUT SHARED ${ILUT_SRCS} ${ILUT_INC} ${ILUT_RSRC})
  17. +add_library(ILUT ${ILUT_SRCS} ${ILUT_INC} ${ILUT_RSRC})
  18. ## add link sub library info
  19. target_link_libraries(ILUT