vcpkg/ports/pdal/fix-unix-compiler-options.patch
Connor Broyles 1f7f116718
[pdal, pdal-c] Update to v2.5.3, v2.2.0 and fix GCC 13 build (#31257)
* [pdal] Update to v2.5.3

* [pdal] Update baseline

* [pdal-c] Update to v2.2.0

* [pdal-c] Update baseline

* update usage

* update version

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2023-05-08 18:28:15 -07:00

14 lines
508 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1705a8426..d13d41786 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -192,7 +192,7 @@ add_subdirectory(apps)
# so that users only need link libpdalcpp.
#
if (APPLE)
- set(PDAL_REEXPORT "-Wl,-reexport_library,$<TARGET_FILE:${PDAL_UTIL_LIB_NAME}>")
+ set(PDAL_REEXPORT "-Wl$<COMMA>-reexport_library$<COMMA>$<TARGET_FILE:${PDAL_UTIL_LIB_NAME}>")
#
# This allows the rpath reference for the reexported library (above) to
# be found.