windows-amd64-prebuilt-libr.../vcpkg/ports/osg/fix-liblas.patch
2020-10-10 14:36:42 +02:00

17 lines
424 B
Diff

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)