mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 03:42:27 +02:00
Make OpenVR windows only for now
This commit is contained in:
parent
671bda8883
commit
6d8adbf2b5
3 changed files with 3 additions and 3 deletions
2
cmake/externals/openvr/CMakeLists.txt
vendored
2
cmake/externals/openvr/CMakeLists.txt
vendored
|
@ -38,7 +38,7 @@ elseif(NOT ANDROID)
|
|||
|
||||
# FIXME need to account for different architectures
|
||||
set(${EXTERNAL_NAME_UPPER}_LIBRARIES ${SOURCE_DIR}/lib/linux64/libopenvr_api.so CACHE TYPE INTERNAL)
|
||||
add_paths_to_fixup_libs(${SOURCE_DIR}/bin/linux32)
|
||||
add_paths_to_fixup_libs(${SOURCE_DIR}/bin/linux64)
|
||||
|
||||
endif()
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ find_package(LibOVR REQUIRED)
|
|||
target_include_directories(${TARGET_NAME} PRIVATE ${LIBOVR_INCLUDE_DIRS})
|
||||
target_link_libraries(${TARGET_NAME} ${LIBOVR_LIBRARIES})
|
||||
|
||||
if (NOT(APPLE))
|
||||
if (WIN32)
|
||||
add_dependency_external_projects(OpenVR)
|
||||
find_package(OpenVR REQUIRED)
|
||||
target_include_directories(${TARGET_NAME} PRIVATE ${OPENVR_INCLUDE_DIRS})
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
#include "OpenVrDisplayPlugin.h"
|
||||
|
||||
#if !defined(Q_OS_MAC)
|
||||
#if defined(Q_OS_WIN)
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
|
Loading…
Reference in a new issue