1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-09-19 15:19:56 +00:00

Update CMake config file to include OpenMP (#345)

This commit is contained in:
Chuck Walbourn 2023-05-01 10:37:19 -07:00 committed by GitHub
parent e4c370d494
commit 37a3733912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,11 @@
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)