liblas/liblas_pkgconfig.patch

24 lines
1.2 KiB
Diff
Raw Normal View History

2022-05-21 15:38:20 +00:00
diff -rupN --no-dereference libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd/apps/CMakeLists.txt libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd-new/apps/CMakeLists.txt
--- libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd/apps/CMakeLists.txt 2022-03-24 12:29:23.000000000 +0100
+++ libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd-new/apps/CMakeLists.txt 2022-05-21 00:48:53.530049258 +0200
@@ -195,8 +195,8 @@ if(UNIX)
if(WITH_PKGCONFIG)
set(PKGCFG_PREFIX "${CMAKE_INSTALL_PREFIX}")
- set(PKGCFG_INC_DIR "${LIBLAS_INCLUDE_SUBDIR}")
- set(PKGCFG_LIB_DIR "${LIBLAS_LIB_SUBDIR}")
2020-06-08 11:51:18 +00:00
+ set(PKGCFG_INC_DIR "${CMAKE_INSTALL_PREFIX}/${LIBLAS_INCLUDE_SUBDIR}")
+ set(PKGCFG_LIB_DIR "${CMAKE_INSTALL_PREFIX}/${LIBLAS_LIB_SUBDIR}")
set(PKGCFG_REQUIRES "")
set(PKGCFG_VERSION ${VERSION})
set(PKGCFG_LINK_FLAGS "-llas -llas_c")
2020-05-06 11:43:26 +00:00
@@ -205,7 +205,7 @@ if(UNIX)
set(PKGCFG_REQUIRES "${PKGCFG_REQUIRES} libxml-2.0")
endif()
if(GEOTIFF_FOUND)
- set(PKGCFG_REQUIRES "${PKGCFG_REQUIRES} geotiff")
+ set(PKGCFG_REQUIRES "${PKGCFG_REQUIRES} libgeotiff")
endif()
# if(WITH_GDAL)
# set(PKGCFG_INC_DIR "${PKGCFG_INC_DIR} ${GDAL_INCLUDE_DIR}")