mirror of
https://github.com/overte-org/overte.git
synced 2025-04-29 20:42:36 +02:00
25 lines
No EOL
725 B
CMake
25 lines
No EOL
725 B
CMake
#
|
|
# Created by Bradley Austin Davis on 2015/10/25
|
|
# 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
|
|
#
|
|
|
|
if (WIN32)
|
|
|
|
# we're using static GLEW, so define GLEW_STATIC
|
|
add_definitions(-DGLEW_STATIC)
|
|
|
|
set(TARGET_NAME oculus)
|
|
setup_hifi_plugin()
|
|
link_hifi_libraries(shared gl plugins display-plugins)
|
|
|
|
include_hifi_library_headers(octree)
|
|
|
|
add_dependency_external_projects(LibOVR)
|
|
find_package(LibOVR REQUIRED)
|
|
target_include_directories(${TARGET_NAME} PRIVATE ${LIBOVR_INCLUDE_DIRS})
|
|
target_link_libraries(${TARGET_NAME} ${LIBOVR_LIBRARIES})
|
|
|
|
endif() |