overte-AleziaKurdis/libraries/ui/CMakeLists.txt
2024-06-05 13:35:16 -07:00

16 lines
No EOL
577 B
CMake

# Copyright 2013-2018, High Fidelity, Inc.
# Copyright 2020-2023 Overte e.V.
# SPDX-License-Identifier: Apache-2.0
set(TARGET_NAME ui)
setup_hifi_library(OpenGL Multimedia Network Qml Quick WebChannel WebSockets XmlPatterns ${PLATFORM_QT_COMPONENTS})
link_hifi_libraries(shared networking qml gl audio audio-client plugins pointers script-engine)
include_hifi_library_headers(controllers)
# Required for some low level GL interaction in the OffscreenQMLSurface
set(OpenGL_GL_PREFERENCE "GLVND")
target_opengl()
if (WIN32)
add_compile_definitions(_USE_MATH_DEFINES)
endif()