PDAL/FindLASzip-cmake.patch
Martin Pluskal 5b5fd6d674 Accepting request 588645 from home:aaronpuchert
- Remove unused build dependencies. Some of them aren't maintained
  and don't build anymore. (libLAS, libght)
- Google Test is "vendored" and is also not required as dependency.
- FindLASzip-cmake.patch: Make sure LASzip is actually detected.
- Change license descriptor to BSD-3-Clause matching the license
  in the repository.
- Remove unused CMake variables.
- Use standard macros for building and installing.

OBS-URL: https://build.opensuse.org/request/show/588645
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/PDAL?expand=0&rev=7
2018-03-19 15:02:27 +00:00

19 lines
590 B
Diff

diff -rup a/cmake/modules/FindLASzip.cmake b/cmake/modules/FindLASzip.cmake
--- a/cmake/modules/FindLASzip.cmake
+++ b/cmake/modules/FindLASzip.cmake
@@ -49,11 +49,13 @@ FIND_LIBRARY(LASZIP_LIBRARY
NAMES ${LASZIP_NAMES}
PATHS
/usr/lib
+ /usr/lib64
/usr/local/lib
+ /usr/local/lib64
${OSGEO4W_ROOT_DIR}/lib)
# Comment out laszip.hpp version info
-SET(LASZIP_VERSION_H "${LASZIP_INCLUDE_DIR}/laszip/laszip_api_version.h")
+SET(LASZIP_VERSION_H "${LASZIP_INCLUDE_DIR}/laszip_api_version.h")
IF(LASZIP_INCLUDE_DIR AND EXISTS ${LASZIP_VERSION_H})
SET(LASZIP_VERSION 0)