pineapple-src/externals/vcpkg/ports/osg/fix-liblas.patch
2022-07-23 03:01:36 +02:00

16 lines
424 B
Diff
Executable file

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b84fa06..a991670 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -765,7 +765,10 @@ ELSE()
ENDIF()
FIND_PACKAGE(ZeroConf)
- FIND_PACKAGE(LIBLAS)
+ FIND_PACKAGE(liblas CONFIG)
+ set(LIBLAS_FOUND ${liblas_FOUND})
+ set(LIBLAS_LIBRARY liblas)
+ set(LIBLASC_LIBRARY liblas_c)
IF (NOT(OSG_USE_LOCAL_LUA_SOURCE))
FIND_PACKAGE(Lua52)