aboutsummaryrefslogtreecommitdiff
path: root/libraries/OpenSceneGraph/disable_asio.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-15 01:06:28 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-16 08:20:06 +0700
commit05d451f23314f4671ff7c4266fa415e4d64cbec5 (patch)
treeb8c8da5073cc168e28bc43c7fe82a8429ef4e332 /libraries/OpenSceneGraph/disable_asio.diff
parent763d78b2793e74f5c10f6696217b410e4d9ae1be (diff)
libraries/OpenSceneGraph: Fix build when asio is installed.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/OpenSceneGraph/disable_asio.diff')
-rw-r--r--libraries/OpenSceneGraph/disable_asio.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/OpenSceneGraph/disable_asio.diff b/libraries/OpenSceneGraph/disable_asio.diff
new file mode 100644
index 000000000000..95f74b73167c
--- /dev/null
+++ b/libraries/OpenSceneGraph/disable_asio.diff
@@ -0,0 +1,13 @@
+diff -Naur OpenSceneGraph-OpenSceneGraph-3.6.5/CMakeLists.txt OpenSceneGraph-OpenSceneGraph-3.6.5.patched/CMakeLists.txt
+--- OpenSceneGraph-OpenSceneGraph-3.6.5/CMakeLists.txt 2020-01-31 06:03:07.000000000 -0500
++++ OpenSceneGraph-OpenSceneGraph-3.6.5.patched/CMakeLists.txt 2022-02-15 01:01:02.259927943 -0500
+@@ -763,9 +763,6 @@
+ FIND_PACKAGE(GtkGl)
+ FIND_PACKAGE(DirectInput)
+ FIND_PACKAGE(NVTT)
+- IF (NOT WIN32)
+- FIND_PACKAGE(Asio)
+- ENDIF()
+ FIND_PACKAGE(ZeroConf)
+
+ FIND_PACKAGE(LIBLAS)