aboutsummaryrefslogtreecommitdiff
path: root/ports/libwebp/FindWebP.cmake
diff options
context:
space:
mode:
authorVictor Romero <romerosanchezv@gmail.com>2019-02-26 08:16:20 -0800
committerGitHub <noreply@github.com>2019-02-26 08:16:20 -0800
commitbd94d1e254aede85506e07a632d1a7aafd538115 (patch)
tree3b99452b7346175aca0d514dafc8324eb07364b8 /ports/libwebp/FindWebP.cmake
parentecff2997f686d9169e3d088541fda7aa2ea62011 (diff)
downloadvcpkg-bd94d1e254aede85506e07a632d1a7aafd538115.tar.gz
vcpkg-bd94d1e254aede85506e07a632d1a7aafd538115.zip
[freeimage, libwebp, OpenEXR, OpenVDB] Updates (#5417)
* [libwebp] update to v1.0.2, greatly simplify port, remove unnecessary custom find_package script in favour of original Config files for cmake * [libwebp] enable building of all tools * [libwebp] install cmake config file in expected path * [libwebp] add compatibility layer inside CMake Config file * [libwebp] fix libwebpmux library name * [OpenEXR] Update to v2.3.0, enable tools, improve cmake module while still maintaining backwards compatibility (there's an official one distributed with the package but it is completely different, for now it is avoided) * [OpenEXR] remove unused patches * [OpenEXR] remove forced definition, could hide problems downstream * [freeimage] add compatibility with latest OpenEXR * [freeimage] bump control * [OpenEXR] restore ilmbase as an empty package to permit clean update * [OpenVDB] update to v6.0 * [OpenEXR] disable building on UWP platform * [openexr] Fix tools suffixes * [openexr] Fix Linux build paths
Diffstat (limited to 'ports/libwebp/FindWebP.cmake')
-rw-r--r--ports/libwebp/FindWebP.cmake27
1 files changed, 0 insertions, 27 deletions
diff --git a/ports/libwebp/FindWebP.cmake b/ports/libwebp/FindWebP.cmake
deleted file mode 100644
index c39a0eb05..000000000
--- a/ports/libwebp/FindWebP.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
-include(SelectLibraryConfigurations)
-include(FindPackageHandleStandardArgs)
-
-# If the user has provided ``WEBP_ROOT``, use it! Choose items found
-# at this location over system locations.
-if( EXISTS "$ENV{WEBP_ROOT}" )
- file( TO_CMAKE_PATH "$ENV{WEBP_ROOT}" WEBP_ROOT )
- set( WEBP_ROOT "${WEBP_ROOT}" CACHE PATH "Prefix for WebP installation." )
-elseif(EXISTS "$ENV{WEBP_DIR}" )
- file( TO_CMAKE_PATH "$ENV{WEBP_DIR}" WEBP_ROOT )
- set( WEBP_ROOT "${WEBP_ROOT}" CACHE PATH "Prefix for WebP installation." )
-endif()
-
-if(NOT WEBP_INCLUDE_DIR)
- FIND_PATH(WEBP_INCLUDE_DIR NAMES webp/decode.h)
-endif()
-
-if(NOT WEBP_LIBRARY)
- find_library(WEBP_LIBRARY_RELEASE NAMES webp PATHS ${WEBP_ROOT} PATH_SUFFIXES webp )
- find_library(WEBP_LIBRARY_DEBUG NAMES webpd PATHS ${WEBP_ROOT} PATH_SUFFIXES debug webp webp/debug debug/webp)
- select_library_configurations(WEBP)
-endif()
-
-SET(WEBP_LIBRARIES ${WEBP_LIBRARY})
-SET(WEBP_INCLUDE_DIRS ${WEBP_INCLUDE_DIR})
-
-find_package_handle_standard_args(WEBP REQUIRED_VARS WEBP_LIBRARY WEBP_INCLUDE_DIR)