diff --git a/cmake/modules/Find3DConnexionClient.cmake b/cmake/modules/Find3DConnexionClient.cmake index 522c25478e..ffd6477ae4 100644 --- a/cmake/modules/Find3DConnexionClient.cmake +++ b/cmake/modules/Find3DConnexionClient.cmake @@ -28,9 +28,8 @@ if (APPLE) else () message(STATUS "Could NOT find 3DConnexionClient") endif() -endif() - -if (WIN32) +elseif (WIN32) + message(STATUS ${CONNEXIONCLIENT_SEARCH_DIRS}) find_path(3DCONNEXIONCLIENT_INCLUDE_DIRS I3dMouseParams.h PATH_SUFFIXES Inc HINTS ${CONNEXIONCLIENT_SEARCH_DIRS}) include(FindPackageHandleStandardArgs) diff --git a/interface/src/devices/3DConnexionClient.cpp b/interface/src/devices/3DConnexionClient.cpp index 2e0a30715c..00a570f66c 100755 --- a/interface/src/devices/3DConnexionClient.cpp +++ b/interface/src/devices/3DConnexionClient.cpp @@ -158,7 +158,7 @@ ConnexionClient& ConnexionClient::getInstance() { #ifdef HAVE_3DCONNEXIONCLIENT -#ifdef _WIN32 +#ifdef Q_OS_WIN static ConnexionClient* gMouseInput = 0; diff --git a/interface/src/devices/3DConnexionClient.h b/interface/src/devices/3DConnexionClient.h index 454c89f797..ea9aa7456f 100755 --- a/interface/src/devices/3DConnexionClient.h +++ b/interface/src/devices/3DConnexionClient.h @@ -33,7 +33,7 @@ public slots: #ifdef HAVE_3DCONNEXIONCLIENT // the windows connexion rawinput -#ifdef _WIN32 +#ifdef Q_OS_WIN #include "I3dMouseParams.h" #include