UPDATE: devel/cmake 3.28.3 -> 3.30.1
This commit is contained in:
parent
f260267c10
commit
294b0e463d
17 changed files with 170 additions and 4149 deletions
34
devel/cmake/patches/patch-Modules_FindTIFF_cmake
Normal file
34
devel/cmake/patches/patch-Modules_FindTIFF_cmake
Normal file
|
@ -0,0 +1,34 @@
|
|||
Revert: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9300
|
||||
More: https://gitlab.kitware.com/cmake/cmake/-/issues/26038
|
||||
Index: Modules/FindTIFF.cmake
|
||||
--- Modules/FindTIFF.cmake.orig
|
||||
+++ Modules/FindTIFF.cmake
|
||||
@@ -101,9 +101,9 @@ if (_TIFF_component_opt)
|
||||
endif ()
|
||||
unset(_TIFF_component_opt)
|
||||
# Always find with QUIET to avoid noise when it is not found.
|
||||
-find_package(Tiff CONFIG QUIET ${_TIFF_args})
|
||||
+find_package(tiff CONFIG QUIET ${_TIFF_args})
|
||||
unset(_TIFF_args)
|
||||
-if (Tiff_FOUND)
|
||||
+if (tiff_FOUND)
|
||||
if (NOT TARGET TIFF::TIFF)
|
||||
add_library(TIFF::TIFF IMPORTED INTERFACE)
|
||||
set_target_properties(TIFF::TIFF PROPERTIES
|
||||
@@ -202,7 +202,7 @@ if (Tiff_FOUND)
|
||||
endif ()
|
||||
endif ()
|
||||
endif ()
|
||||
- set(TIFF_VERSION_STRING "${Tiff_VERSION}")
|
||||
+ set(TIFF_VERSION_STRING "${tiff_VERSION}")
|
||||
foreach (_TIFF_component IN LISTS TIFF_FIND_COMPONENTS)
|
||||
set(TIFF_${_TIFF_component}_FOUND "${Tiff_${_TIFF_component}_FOUND}")
|
||||
endforeach ()
|
||||
@@ -211,7 +211,6 @@ if (Tiff_FOUND)
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
|
||||
find_package_handle_standard_args(TIFF
|
||||
HANDLE_COMPONENTS
|
||||
- REQUIRED_VARS Tiff_DIR
|
||||
VERSION_VAR TIFF_VERSION_STRING)
|
||||
|
||||
cmake_policy(POP)
|
Loading…
Add table
Add a link
Reference in a new issue