1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-24 21:30:14 +00:00
DirectXTex/build/DirectXTex-config.cmake.in

25 lines
568 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))
find_dependency(directx-headers)
find_dependency(directxmath)
else()
find_package(directx-headers CONFIG QUIET)
find_package(directxmath CONFIG QUIET)
endif()
check_required_components("@PROJECT_NAME@")