mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 20:48:59 +08:00
82a9a8436e
* [libgeotiff] Fix packagename via find_package * Update port_versions * Update portfile.cmake * Update patch * [libgeotiff] Fix packagename via find_package * Update port_versions * Update patch * [pdal] Fix geotiff package name * Update versions * [pdal] Update dependency * Update versions/p-/pdal.json
22 lines
1.2 KiB
Diff
22 lines
1.2 KiB
Diff
diff --git a/libgeotiff/cmake/project-config-version.cmake.in b/libgeotiff/cmake/project-config-version.cmake.in
|
|
index d695aa2..efe32ba 100644
|
|
--- a/libgeotiff/cmake/project-config-version.cmake.in
|
|
+++ b/libgeotiff/cmake/project-config-version.cmake.in
|
|
@@ -5,14 +5,14 @@ set (PACKAGE_VERSION_MAJOR "@PROJECT_VERSION_MAJOR@")
|
|
set (PACKAGE_VERSION_MINOR "@PROJECT_VERSION_MINOR@")
|
|
set (PACKAGE_VERSION_PATCH "@PROJECT_VERSION_PATCH@")
|
|
|
|
-if (NOT PACKAGE_FIND_NAME STREQUAL "@PROJECT_NAME@")
|
|
+if (NOT PACKAGE_FIND_NAME STREQUAL "@PROJECT_NAME_LOWER@")
|
|
# Check package name (in particular, because of the way cmake finds
|
|
# package config files, the capitalization could easily be "wrong").
|
|
# This is necessary to ensure that the automatically generated
|
|
# variables, e.g., <package>_FOUND, are consistently spelled. Make
|
|
# this a WARNING, because this is a user error that needs to be fixed.
|
|
message (WARNING
|
|
- "Mismatched package names: use find_package(@PROJECT_NAME@ ...) instead"
|
|
+ "Mismatched package names: use find_package(@PROJECT_NAME_LOWER@ ...) instead"
|
|
" of find_package(${PACKAGE_FIND_NAME} ...)")
|
|
set (PACKAGE_VERSION_UNSUITABLE TRUE)
|
|
elseif (NOT (APPLE OR CMAKE_SIZEOF_VOID_P EQUAL @CMAKE_SIZEOF_VOID_P@))
|