aboutsummaryrefslogtreecommitdiff
path: root/ports/osg/fix-liblas.patch
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-04-17 04:49:55 +0800
committerGitHub <noreply@github.com>2020-04-16 13:49:55 -0700
commitb12256a4af4e77e1ae87bbf76c1c3a654cdcd1a2 (patch)
tree2de29301d343a9358165bf537a83655ac62e9559 /ports/osg/fix-liblas.patch
parent29c933ddb6fee5f46fb2f11e6db3d906ac01c927 (diff)
downloadvcpkg-b12256a4af4e77e1ae87bbf76c1c3a654cdcd1a2.tar.gz
vcpkg-b12256a4af4e77e1ae87bbf76c1c3a654cdcd1a2.zip
[osg] Add feature examples and plugins, fix configure options (#10082)
* [osg] Add feature examples and plugins, fix configure options * [osg] Add feature tools, packages and docs * [osgearth] Set dependency to osg[plugins] * [osgearth] bump version * [osg] Fix dependency * [osg] Remove feature plugins dependency nvtt * [osg] Remove empty folder * [osg] Fix dependency sdl and liblas * [osg] Fix install issue * [osg] Fix dependency nvtt * [osg] Re-fix dependency nvtt * [osg] Fix judgment when selecting nvtt * [osg] Create tools folder based on conditions * [osg] Fix typo * update baseline * re-trigger ci test * re-trigger ci test
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)