2020-12-18 23:28:28 +00:00
|
|
|
@PACKAGE_INIT@
|
|
|
|
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake)
|
2021-10-30 02:32:55 +00:00
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
|
2023-05-01 17:37:19 +00:00
|
|
|
set(BC_USE_OPENMP @BC_USE_OPENMP@)
|
|
|
|
if(BC_USE_OPENMP)
|
|
|
|
find_dependency(OpenMP)
|
|
|
|
endif()
|
|
|
|
|
2021-10-30 02:32:55 +00:00
|
|
|
set(ENABLE_OPENEXR_SUPPORT @ENABLE_OPENEXR_SUPPORT@)
|
|
|
|
if(ENABLE_OPENEXR_SUPPORT)
|
|
|
|
find_dependency(OpenEXR)
|
|
|
|
endif()
|
|
|
|
|
2024-01-20 19:02:19 +00:00
|
|
|
set(ENABLE_LIBJPEG_SUPPORT @ENABLE_LIBJPEG_SUPPORT@)
|
|
|
|
if(ENABLE_LIBJPEG_SUPPORT)
|
|
|
|
find_dependency(JPEG)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(ENABLE_LIBPNG_SUPPORT @ENABLE_LIBPNG_SUPPORT@)
|
|
|
|
if(ENABLE_LIBPNG_SUPPORT)
|
|
|
|
find_dependency(PNG)
|
|
|
|
endif()
|
|
|
|
|
2023-06-14 20:22:22 +00:00
|
|
|
if(MINGW OR (NOT WIN32))
|
2023-06-16 18:35:08 +00:00
|
|
|
find_dependency(directx-headers)
|
|
|
|
find_dependency(directxmath)
|
|
|
|
else()
|
|
|
|
find_package(directx-headers CONFIG QUIET)
|
|
|
|
find_package(directxmath CONFIG QUIET)
|
2021-10-30 02:32:55 +00:00
|
|
|
endif()
|
2020-12-18 23:28:28 +00:00
|
|
|
|
|
|
|
check_required_components("@PROJECT_NAME@")
|