aboutsummaryrefslogtreecommitdiff
path: root/ports/devil/enable-static.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-11-21 22:50:54 -0800
committerGitHub <noreply@github.com>2017-11-21 22:50:54 -0800
commit27a523e61cd84a7b44bfe51d1661c97b1c4447b7 (patch)
treeeb5e0178cb62891ccfe2cb60fc3e3356fe0b94d3 /ports/devil/enable-static.patch
parentf7c10858f71f7e03b8745cf561108b3e766e4e84 (diff)
parent46288a5a6df363bcb795ccc49f78adab560e41e5 (diff)
downloadvcpkg-27a523e61cd84a7b44bfe51d1661c97b1c4447b7.tar.gz
vcpkg-27a523e61cd84a7b44bfe51d1661c97b1c4447b7.zip
Merge pull request #2082 from Lyrex/devil-port
Add DevIL port
Diffstat (limited to 'ports/devil/enable-static.patch')
-rw-r--r--ports/devil/enable-static.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/ports/devil/enable-static.patch b/ports/devil/enable-static.patch
new file mode 100644
index 000000000..bf0cb618a
--- /dev/null
+++ b/ports/devil/enable-static.patch
@@ -0,0 +1,26 @@
+diff --git a/devil/src-ILU/CMakeLists.txt b/devil/src-ILU/CMakeLists.txt
+index 17a3afe..a46ab41 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})
+
+
+ ## ILU requires IL
+diff --git a/devil/src-ILUT/CMakeLists.txt b/devil/src-ILUT/CMakeLists.txt
+index 21470cb..398d3c1 100644
+--- a/devil/src-ILUT/CMakeLists.txt
++++ b/devil/src-ILUT/CMakeLists.txt
+@@ -43,7 +43,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})
+
+ ## add link sub library info
+ target_link_libraries(ILUT