aboutsummaryrefslogtreecommitdiff
path: root/ports/osg/fix-liblas.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/osg/fix-liblas.patch')
-rw-r--r--ports/osg/fix-liblas.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/ports/osg/fix-liblas.patch b/ports/osg/fix-liblas.patch
new file mode 100644
index 000000000..c36396e97
--- /dev/null
+++ b/ports/osg/fix-liblas.patch
@@ -0,0 +1,16 @@
+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)