mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 17:49:27 +02:00
Fix CMakeLists.txt for test building. Add missing dependencies, deal with GLVND
This commit is contained in:
parent
b3bd6c7ac8
commit
e23c162d97
3 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Declare dependencies
|
# Declare dependencies
|
||||||
macro (setup_testcase_dependencies)
|
macro (setup_testcase_dependencies)
|
||||||
# link in the shared libraries
|
# link in the shared libraries
|
||||||
link_hifi_libraries(shared animation gpu hfm graphics networking test-utils image)
|
link_hifi_libraries(shared animation gpu hfm model-serializers graphics networking test-utils image)
|
||||||
|
|
||||||
package_libraries_for_deployment()
|
package_libraries_for_deployment()
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Declare dependencies
|
# Declare dependencies
|
||||||
macro (setup_testcase_dependencies)
|
macro (setup_testcase_dependencies)
|
||||||
# link in the shared libraries
|
# link in the shared libraries
|
||||||
link_hifi_libraries(shared test-utils ktx gpu gl ${PLATFORM_GL_BACKEND})
|
link_hifi_libraries(shared test-utils ktx gpu gl shaders networking ${PLATFORM_GL_BACKEND})
|
||||||
package_libraries_for_deployment()
|
package_libraries_for_deployment()
|
||||||
target_opengl()
|
target_opengl()
|
||||||
target_zlib()
|
target_zlib()
|
||||||
|
@ -10,5 +10,5 @@ macro (setup_testcase_dependencies)
|
||||||
add_dependency_external_projects(wasapi)
|
add_dependency_external_projects(wasapi)
|
||||||
endif ()
|
endif ()
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||||
setup_hifi_testcase()
|
setup_hifi_testcase()
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
# Declare dependencies
|
# Declare dependencies
|
||||||
macro (setup_testcase_dependencies)
|
macro (setup_testcase_dependencies)
|
||||||
link_hifi_libraries(shared workload)
|
link_hifi_libraries(shared workload shaders)
|
||||||
package_libraries_for_deployment()
|
package_libraries_for_deployment()
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue