|
@@ -40,6 +40,15 @@ AC_ARG_ENABLE([driver-oculus-rift],
|
|
|
|
|
|
AM_CONDITIONAL([BUILD_DRIVER_OCULUS_RIFT], [test "x$driver_oculus_rift_enabled" != "xno"])
|
|
|
|
|
|
+# HTC Vive driver
|
|
|
+AC_ARG_ENABLE([driver-htc-vive],
|
|
|
+ [AS_HELP_STRING([--disable-driver-htc-vive],
|
|
|
+ [disable building of HTC Vive driver [default=yes]])],
|
|
|
+ [driver_htc_vive_enabled=$enableval],
|
|
|
+ [driver_htc_vive_enabled='yes'])
|
|
|
+
|
|
|
+AM_CONDITIONAL([BUILD_DRIVER_OCULUS_RIFT], [test "x$driver_oculus_rift_enabled" != "xno"])
|
|
|
+
|
|
|
# External Driver
|
|
|
AC_ARG_ENABLE([driver-external],
|
|
|
[AS_HELP_STRING([--disable-driver-external],
|
|
@@ -62,6 +71,10 @@ AM_CONDITIONAL([BUILD_DRIVER_ANDROID], [test "x$driver_android_enabled" != "xno"
|
|
|
AS_IF([test "x$driver_oculus_rift_enabled" != "xno"],
|
|
|
[PKG_CHECK_MODULES([hidapi], [$hidapi] >= 0.0.5)])
|
|
|
|
|
|
+# Libs required by HTC Vive Driver
|
|
|
+AS_IF([test "x$driver_htc_vive_enabled" != "xno"],
|
|
|
+ [PKG_CHECK_MODULES([hidapi], [$hidapi] >= 0.0.5)])
|
|
|
+
|
|
|
# Do we build OpenGL example?
|
|
|
AC_ARG_ENABLE([openglexample],
|
|
|
[AS_HELP_STRING([--enable-openglexample],
|