|
|
|
@ -57,6 +57,7 @@ |
|
|
|
# Audio - Audio library |
|
|
|
# Audio - Audio library |
|
|
|
# DebugTools - DebugTools library |
|
|
|
# DebugTools - DebugTools library |
|
|
|
# GL - GL library |
|
|
|
# GL - GL library |
|
|
|
|
|
|
|
# MaterialTools - MaterialTools library |
|
|
|
# MeshTools - MeshTools library |
|
|
|
# MeshTools - MeshTools library |
|
|
|
# Primitives - Primitives library |
|
|
|
# Primitives - Primitives library |
|
|
|
# SceneGraph - SceneGraph library |
|
|
|
# SceneGraph - SceneGraph library |
|
|
|
@ -127,7 +128,7 @@ |
|
|
|
# |
|
|
|
# |
|
|
|
# Features of found Magnum library are exposed in these variables: |
|
|
|
# Features of found Magnum library are exposed in these variables: |
|
|
|
# |
|
|
|
# |
|
|
|
# MAGNUM_BUILD_DEPRECATED - Defined if compiled with deprecated APIs |
|
|
|
# MAGNUM_BUILD_DEPRECATED - Defined if compiled with deprecated features |
|
|
|
# included |
|
|
|
# included |
|
|
|
# MAGNUM_BUILD_STATIC - Defined if compiled as static libraries |
|
|
|
# MAGNUM_BUILD_STATIC - Defined if compiled as static libraries |
|
|
|
# MAGNUM_BUILD_STATIC_UNIQUE_GLOBALS - Defined if static libraries keep the |
|
|
|
# MAGNUM_BUILD_STATIC_UNIQUE_GLOBALS - Defined if static libraries keep the |
|
|
|
@ -367,8 +368,8 @@ endif() |
|
|
|
# Component distinction (listing them explicitly to avoid mistakes with finding |
|
|
|
# Component distinction (listing them explicitly to avoid mistakes with finding |
|
|
|
# components from other repositories) |
|
|
|
# components from other repositories) |
|
|
|
set(_MAGNUM_LIBRARY_COMPONENTS |
|
|
|
set(_MAGNUM_LIBRARY_COMPONENTS |
|
|
|
Audio DebugTools GL MeshTools Primitives SceneGraph SceneTools Shaders |
|
|
|
Audio DebugTools GL MaterialTools MeshTools Primitives SceneGraph |
|
|
|
ShaderTools Text TextureTools Trade |
|
|
|
SceneTools Shaders ShaderTools Text TextureTools Trade |
|
|
|
WindowlessEglApplication EglContext OpenGLTester) |
|
|
|
WindowlessEglApplication EglContext OpenGLTester) |
|
|
|
set(_MAGNUM_PLUGIN_COMPONENTS |
|
|
|
set(_MAGNUM_PLUGIN_COMPONENTS |
|
|
|
AnyAudioImporter AnyImageConverter AnyImageImporter AnySceneConverter |
|
|
|
AnyAudioImporter AnyImageConverter AnyImageImporter AnySceneConverter |
|
|
|
@ -432,6 +433,8 @@ if(MAGNUM_TARGET_GL) |
|
|
|
set(_MAGNUM_DebugTools_GL_DEPENDENCY_IS_OPTIONAL ON) |
|
|
|
set(_MAGNUM_DebugTools_GL_DEPENDENCY_IS_OPTIONAL ON) |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set(_MAGNUM_MaterialTools_DEPENDENCIES Trade) |
|
|
|
|
|
|
|
|
|
|
|
set(_MAGNUM_MeshTools_DEPENDENCIES Trade) |
|
|
|
set(_MAGNUM_MeshTools_DEPENDENCIES Trade) |
|
|
|
if(MAGNUM_TARGET_GL) |
|
|
|
if(MAGNUM_TARGET_GL) |
|
|
|
list(APPEND _MAGNUM_MeshTools_DEPENDENCIES GL) |
|
|
|
list(APPEND _MAGNUM_MeshTools_DEPENDENCIES GL) |
|
|
|
@ -883,6 +886,10 @@ foreach(_component ${Magnum_FIND_COMPONENTS}) |
|
|
|
INTERFACE_LINK_LIBRARIES OpenGLES3::OpenGLES3) |
|
|
|
INTERFACE_LINK_LIBRARIES OpenGLES3::OpenGLES3) |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# MaterialTools library |
|
|
|
|
|
|
|
elseif(_component STREQUAL MaterialTools) |
|
|
|
|
|
|
|
set(_MAGNUM_${_COMPONENT}_INCLUDE_PATH_NAMES PhongToPbrMetallicRoughness.h) |
|
|
|
|
|
|
|
|
|
|
|
# MeshTools library |
|
|
|
# MeshTools library |
|
|
|
elseif(_component STREQUAL MeshTools) |
|
|
|
elseif(_component STREQUAL MeshTools) |
|
|
|
set(_MAGNUM_${_COMPONENT}_INCLUDE_PATH_NAMES CompressIndices.h) |
|
|
|
set(_MAGNUM_${_COMPONENT}_INCLUDE_PATH_NAMES CompressIndices.h) |
|
|
|
@ -901,6 +908,10 @@ foreach(_component ${Magnum_FIND_COMPONENTS}) |
|
|
|
|
|
|
|
|
|
|
|
# No special setup for SceneGraph library |
|
|
|
# No special setup for SceneGraph library |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# SceneTools library |
|
|
|
|
|
|
|
elseif(_component STREQUAL SceneTools) |
|
|
|
|
|
|
|
set(_MAGNUM_${_COMPONENT}_INCLUDE_PATH_NAMES FlattenTransformationHierarchy.h) |
|
|
|
|
|
|
|
|
|
|
|
# ShaderTools library |
|
|
|
# ShaderTools library |
|
|
|
elseif(_component STREQUAL ShaderTools) |
|
|
|
elseif(_component STREQUAL ShaderTools) |
|
|
|
set_property(TARGET Magnum::${_component} APPEND PROPERTY |
|
|
|
set_property(TARGET Magnum::${_component} APPEND PROPERTY |
|
|
|
|