mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 01:29:03 +08:00
8e6f6a382e
* [simage] Update to 1.8.1 * Format manifest and update version files * Revert the changes for arm and uwp in ci.baseline.txt * Update versions/s-/simage.json * Update ports/simage/portfile.cmake * Update ports/simage/portfile.cmake * Update ports/simage/portfile.cmake * Update versions/s-/simage.json * Add options to packages * Update versions/s-/simage.json * Update portfile.cmake * Update versions/s-/simage.json * Update portfile.cmake * Update versions/s-/simage.json * [simage] Reorganize all features, add features * Install tool simage-config on non-Windows * fix typo * Add supports field and update ci.baseline.txt * Update versions/s-/simage.json Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index d869715..073a73f 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -117,10 +117,10 @@ endif()
|
|
# On Windows GDI+ supports GIF, JPEG, EXIF, PNG, and TIFF.
|
|
# see https://docs.microsoft.com/en-us/windows/desktop/gdiplus/-gdiplus-types-of-bitmaps-about
|
|
if(SIMAGE_USE_GDIPLUS)
|
|
- find_package(GdiPlus)
|
|
+ find_package(GdiPlus REQUIRED)
|
|
endif()
|
|
if(SIMAGE_USE_AVIENC)
|
|
- find_package(Vfw)
|
|
+ find_package(Vfw REQUIRED)
|
|
endif()
|
|
|
|
# On macOS QuickTime supports BMP, GIF, JPEG, JPEG 2000, PNG, TIFF, and TGA.
|
|
@@ -267,7 +267,7 @@ if(SIMAGE_OGGVORBIS_SUPPORT)
|
|
find_package(Ogg REQUIRED)
|
|
find_package(Vorbis REQUIRED)
|
|
if(OGG_FOUND)
|
|
- find_package(Opus)
|
|
+ find_package(Opus REQUIRED)
|
|
endif()
|
|
endif()
|
|
|
|
@@ -287,8 +287,8 @@ if(NOT SIMAGE_QUICKTIME_SUPPORT AND NOT SIMAGE_CGIMAGE_SUPPORT AND NOT SIMAGE_GD
|
|
if(SIMAGE_TIFF_SUPPORT)
|
|
find_package(TIFF REQUIRED)
|
|
if(TIFF_FOUND)
|
|
- find_package(LibLZMA)
|
|
- find_package(Zstd)
|
|
+ find_package(LibLZMA REQUIRED)
|
|
+ find_package(Zstd REQUIRED)
|
|
endif()
|
|
endif()
|
|
|