mirror of
https://github.com/overte-org/overte.git
synced 2025-04-29 20:42:36 +02:00
For now without a merge conflict. Updated the menu name. Still have to look at the fast zooming and yaw on windows, probably have to add a var to prevent the button changes to be pushed to fast. Not sure why the yaw thing does not always work, could be that the position is also send at the same time and the input mapper does not not process all those synchronical. Probably will have to do something with masking the postion when the rotation is set for yaw.
38 lines
1.3 KiB
CMake
38 lines
1.3 KiB
CMake
#
|
|
# FindconnexionClient.cmake
|
|
#
|
|
# Once done this will define
|
|
#
|
|
# 3DCONNEXIONCLIENT_INCLUDE_DIRS
|
|
#
|
|
# Created on 10/06/2015 by Marcel Verhagen
|
|
# Copyright 2015 High Fidelity, Inc.
|
|
#
|
|
# Distributed under the Apache License, Version 2.0.
|
|
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
#
|
|
|
|
# setup hints for 3DCONNEXIONCLIENT search
|
|
include("${MACRO_DIR}/HifiLibrarySearchHints.cmake")
|
|
hifi_library_search_hints("connexionclient")
|
|
|
|
if (APPLE)
|
|
find_library(3DconnexionClient 3DconnexionClient)
|
|
if(EXISTS ${3DconnexionClient})
|
|
set(CONNEXIONCLIENT_FOUND true)
|
|
set(CONNEXIONCLIENT_INCLUDE_DIR ${3DconnexionClient})
|
|
set(CONNEXIONCLIENT_LIBRARY ${3DconnexionClient})
|
|
set_target_properties(${TARGET_NAME} PROPERTIES LINK_FLAGS "-weak_framework 3DconnexionClient")
|
|
message(STATUS "Found 3Dconnexion")
|
|
mark_as_advanced(CONNEXIONCLIENT_INCLUDE_DIR CONNEXIONCLIENT_LIBRARY)
|
|
endif()
|
|
endif()
|
|
|
|
if (WIN32)
|
|
find_path(CONNEXIONCLIENT_INCLUDE_DIRS I3dMouseParams.h PATH_SUFFIXES Inc HINTS ${CONNEXIONCLIENT_SEARCH_DIRS})
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(connexionClient DEFAULT_MSG CONNEXIONCLIENT_INCLUDE_DIRS)
|
|
|
|
mark_as_advanced(CONNEXIONCLIENT_INCLUDE_DIRS CONNEXIONCLIENT_SEARCH_DIRS)
|
|
endif()
|