mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 01:22:08 +02:00
Merge pull request #763 from daleglass/fix-opengl-cmake-warning
Set GL preference to GLVND
This commit is contained in:
commit
76093185b7
8 changed files with 14 additions and 1 deletions
|
@ -238,6 +238,8 @@ target_include_directories(${TARGET_NAME} PRIVATE "${CMAKE_BINARY_DIR}/libraries
|
|||
target_openssl()
|
||||
|
||||
target_bullet()
|
||||
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
add_crashpad()
|
||||
target_breakpad()
|
||||
|
|
|
@ -13,6 +13,7 @@ include_hifi_library_headers(ktx)
|
|||
include_hifi_library_headers(render)
|
||||
include_hifi_library_headers(procedural)
|
||||
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
|
||||
GroupSources("src/display-plugins")
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
set(TARGET_NAME gl)
|
||||
setup_hifi_library(Gui Widgets)
|
||||
link_hifi_libraries(shared)
|
||||
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
|
||||
|
|
|
@ -2,5 +2,7 @@ set(TARGET_NAME gpu-gl-common)
|
|||
setup_hifi_library(Concurrent)
|
||||
link_hifi_libraries(shared gl gpu shaders)
|
||||
GroupSources("src")
|
||||
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
|
||||
|
|
|
@ -5,5 +5,7 @@ if (UNIX)
|
|||
target_link_libraries(${TARGET_NAME} pthread)
|
||||
endif(UNIX)
|
||||
GroupSources("src")
|
||||
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
|
||||
|
|
|
@ -3,4 +3,5 @@ setup_hifi_library(Multimedia Network Qml Quick WebChannel WebSockets ${PLATFORM
|
|||
link_hifi_libraries(shared networking gl)
|
||||
|
||||
# Required for some low level GL interaction in the OffscreenQMLSurface
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
|
|
|
@ -4,4 +4,5 @@ link_hifi_libraries(shared networking qml gl audio audio-client plugins pointers
|
|||
include_hifi_library_headers(controllers)
|
||||
|
||||
# Required for some low level GL interaction in the OffscreenQMLSurface
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
|
|
|
@ -21,6 +21,8 @@ link_hifi_libraries(
|
|||
)
|
||||
|
||||
target_compile_definitions(${TARGET_NAME} PRIVATE USE_GL)
|
||||
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
#target_vulkan()
|
||||
|
||||
|
@ -38,4 +40,4 @@ install(
|
|||
PATTERN "*.exp" EXCLUDE
|
||||
)
|
||||
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue