mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Merge pull request #1268 from daleglass/do-not-use-leapmotion-by-default
Don't use LeapMotion by default.
This commit is contained in:
commit
4110e9f65b
1 changed files with 6 additions and 1 deletions
|
@ -6,7 +6,12 @@
|
|||
# See the accompanying file LICENSE or http:#www.apache.org/licenses/LICENSE-2.0.html
|
||||
#
|
||||
|
||||
find_package(LEAPMOTION)
|
||||
if (USE_LEAPMOTION)
|
||||
find_package(LEAPMOTION)
|
||||
else()
|
||||
message(STATUS "Use of Leap Motion SDK not enabled. Run cmake with -DUSE_LEAPMOTION=1 to use it.")
|
||||
endif()
|
||||
|
||||
if (LEAPMOTION_FOUND)
|
||||
set(TARGET_NAME hifiLeapMotion)
|
||||
setup_hifi_plugin(Qml)
|
||||
|
|
Loading…
Reference in a new issue