mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-23 00:49:08 +02:00
23 lines
748 B
CMake
23 lines
748 B
CMake
set(TARGET_NAME render-utils)
|
|
|
|
AUTOSCRIBE_SHADER_LIB()
|
|
|
|
# pull in the resources.qrc file
|
|
qt5_add_resources(QT_RESOURCES_FILE "${CMAKE_CURRENT_SOURCE_DIR}/res/fonts/fonts.qrc")
|
|
|
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
|
setup_hifi_library(Widgets OpenGL Network Script)
|
|
|
|
add_dependency_external_projects(glm)
|
|
find_package(GLM REQUIRED)
|
|
target_include_directories(${TARGET_NAME} PUBLIC ${GLM_INCLUDE_DIRS})
|
|
|
|
link_hifi_libraries(animation fbx shared gpu)
|
|
|
|
if (WIN32)
|
|
# we're using static GLEW, so define GLEW_STATIC
|
|
add_definitions(-DGLEW_STATIC)
|
|
endif ()
|
|
|
|
# call macro to include our dependency includes and bubble them up via a property on our target
|
|
include_dependency_includes()
|