1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-24 05:10:17 +00:00
DirectXTex/build/DirectXTex-config.cmake.in
2023-05-01 10:37:19 -07:00

22 lines
504 B
CMake

@PACKAGE_INIT@
include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake)
include(CMakeFindDependencyMacro)
set(BC_USE_OPENMP @BC_USE_OPENMP@)
if(BC_USE_OPENMP)
find_dependency(OpenMP)
endif()
set(ENABLE_OPENEXR_SUPPORT @ENABLE_OPENEXR_SUPPORT@)
if(ENABLE_OPENEXR_SUPPORT)
find_dependency(OpenEXR)
endif()
if(MINGW OR (NOT WIN32) OR VCPKG_TOOLCHAIN)
find_dependency(directx-headers CONFIG)
find_dependency(directxmath CONFIG)
endif()
check_required_components("@PROJECT_NAME@")