vcpkg/ports/pdal/fix-find-library-suffix.patch
Kai Pastor 25eb51a36b
[pdal] Revise and update (#21275)
* Modernize portfile, use vcpkg_from_github

* Revise cleanup and tool installation

* Fix static linkage with gdal

* Fix static linkage with PostgreSQL

* Fix compiler options

* Fix APPLE linker flags

* Don't use /usr/local/include

* Remove pdal failure from CI baseline

* Remove outdated FindICONV.cmake

* Simplify geos package lookup

* Separate boost patch from other dependencies

* Simplify boost patching

* Update to 2.3.0

* PDAL supports only dynamic linkage

* Normalize find_library

* Dependencies, features and plugins

* Update pdalboost fixup

* Fixup pkgconfig

"Requires" in pc file is incomplete, and not needed for dynamic linkage in vcpkg.

* Override absolute plugin path

* Don't set RPATH

* Add usage

* [pdal-c] Update portfile

* [pdal-c] Don't enforce pdal features

* [pdal-c] Update to v2.1.0

* Update versions

* Convert tabs

* Update versions

* Patch NOMINMAX definition

* Update versions

* Use project include instead of patch

* Update versions

* Update 'supports' field

* Update versions
2022-01-11 14:56:08 -08:00

17 lines
528 B
Diff

diff --git a/cmake/libraries.cmake b/cmake/libraries.cmake
index dae98ea..edab055 100644
--- a/cmake/libraries.cmake
+++ b/cmake/libraries.cmake
@@ -3,11 +3,7 @@
option(PDAL_BUILD_STATIC "Build PDAL as a static library" OFF)
if (PDAL_BUILD_STATIC)
set(PDAL_LIB_TYPE "STATIC")
- set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_STATIC_LIBRARY_SUFFIX})
else ()
set(PDAL_LIB_TYPE "SHARED")
- if (WIN32)
- set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_IMPORT_LIBRARY_SUFFIX})
- endif()
endif()
mark_as_advanced(PDAL_BUILD_STATIC)