mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-09 11:40:14 +02:00
add missing find_dependency
calls to cmake config file (#255)
This commit is contained in:
parent
6c6c910af3
commit
f00ca8b746
@ -1,5 +1,16 @@
|
|||||||
@PACKAGE_INIT@
|
@PACKAGE_INIT@
|
||||||
|
|
||||||
include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake)
|
include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake)
|
||||||
|
include(CMakeFindDependencyMacro)
|
||||||
|
|
||||||
|
set(ENABLE_OPENEXR_SUPPORT @ENABLE_OPENEXR_SUPPORT@)
|
||||||
|
if(ENABLE_OPENEXR_SUPPORT)
|
||||||
|
find_dependency(OpenEXR)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if((NOT WIN32) OR VCPKG_TOOLCHAIN)
|
||||||
|
find_dependency(directx-headers CONFIG)
|
||||||
|
find_dependency(directxmath CONFIG)
|
||||||
|
endif()
|
||||||
|
|
||||||
check_required_components("@PROJECT_NAME@")
|
check_required_components("@PROJECT_NAME@")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user