Skip to content

Commit

Permalink
Update CMake config file to include OpenMP (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed May 1, 2023
1 parent e4c370d commit 37a3733
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/DirectXTex-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 37a3733

Please sign in to comment.