aboutsummaryrefslogtreecommitdiff
path: root/ports/openimageio/use-webp.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2019-11-22 09:47:40 -0800
committerGitHub <noreply@github.com>2019-11-22 09:47:40 -0800
commit45f4b820e5743b89bca3508ba2028cdd5d8bbd17 (patch)
treef874a8c4a7392309bdbb86447288597ec0a4a281 /ports/openimageio/use-webp.patch
parent62d67d3bf8eeff1afa8009041fd08b8822676b7b (diff)
parent8831e8f25f1ff6546ee4a5291b91d599421637b3 (diff)
downloadvcpkg-45f4b820e5743b89bca3508ba2028cdd5d8bbd17.tar.gz
vcpkg-45f4b820e5743b89bca3508ba2028cdd5d8bbd17.zip
Merge branch 'master' into vcpkg_nuget
Diffstat (limited to 'ports/openimageio/use-webp.patch')
-rw-r--r--ports/openimageio/use-webp.patch68
1 files changed, 34 insertions, 34 deletions
diff --git a/ports/openimageio/use-webp.patch b/ports/openimageio/use-webp.patch
index 1b03636e9..ab03b1703 100644
--- a/ports/openimageio/use-webp.patch
+++ b/ports/openimageio/use-webp.patch
@@ -1,34 +1,34 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index abd4e23..12a7f54 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -87,6 +87,7 @@ option (USE_FREETYPE "Use Freetype if found" ON)
- option (USE_GIF "Use GIF if found" ON)
- option (USE_PTEX "Use PTex if found" ON)
- option (USE_LIBRAW "Use LibRaw if found" ON)
-+option (USE_WEBP "Use WebP if found" ON)
- set (LIBRAW_PATH "" CACHE STRING "Custom LibRaw path")
- option (OIIO_THREAD_ALLOW_DCLP "OIIO threads may use DCLP for speed" ON)
- option (USE_NUKE "Build Nuke plugins, if Nuke is found" ON)
-diff --git a/src/cmake/externalpackages.cmake b/src/cmake/externalpackages.cmake
-index 7dde986..66da94d 100644
---- a/src/cmake/externalpackages.cmake
-+++ b/src/cmake/externalpackages.cmake
-@@ -366,6 +366,7 @@ endif()
- if (NOT WEBP_FIND_QUIETLY)
- message (STATUS "WEBP_HOME=${WEBP_HOME}")
- endif ()
-+if(USE_WEBP)
- find_path (WEBP_INCLUDE_DIR webp/encode.h
- "${PROJECT_SOURCE_DIR}/src/include"
- "${WEBP_HOME}")
-@@ -382,6 +383,9 @@ else()
- set (WEBP_FOUND FALSE)
- message (STATUS "WebP library not found")
- endif()
-+else()
-+ set (WEBP_FOUND FALSE)
-+endif()
- # end Webp setup
- ###########################################################################
-
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7f43455..393af70 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -96,6 +96,7 @@ option (USE_GIF "Use GIF if found" ON)
+ option (USE_PTEX "Use PTex if found" ON)
+ option (USE_WEBP "Use WebP if found" ON)
+ option (USE_LIBRAW "Use LibRaw if found" ON)
++option (USE_WEBP "Use WebP if found" ON)
+ set (LIBRAW_PATH "" CACHE STRING "Custom LibRaw path")
+ option (OIIO_THREAD_ALLOW_DCLP "OIIO threads may use DCLP for speed" ON)
+ option (USE_NUKE "Build Nuke plugins, if Nuke is found" ON)
+diff --git a/src/cmake/externalpackages.cmake b/src/cmake/externalpackages.cmake
+index f2709d0..3a95da6 100644
+--- a/src/cmake/externalpackages.cmake
++++ b/src/cmake/externalpackages.cmake
+@@ -411,6 +411,7 @@ if (USE_WEBP)
+ if (NOT WEBP_FIND_QUIETLY)
+ message (STATUS "WEBP_HOME=${WEBP_HOME}")
+ endif ()
++ if(USE_WEBP)
+ find_path (WEBP_INCLUDE_DIR webp/encode.h
+ "${PROJECT_SOURCE_DIR}/src/include"
+ "${WEBP_HOME}")
+@@ -427,6 +428,9 @@ if (USE_WEBP)
+ set (WEBP_FOUND FALSE)
+ message (STATUS "WebP library not found")
+ endif()
++ else()
++ set (WEBP_FOUND FALSE)
++ endif()
+ else ()
+ message (STATUS "Not using WebP")
+ endif ()