Skip to content

Commit

Permalink
add missing check to find draco and WebP in downstream CMake projects
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffamstutz committed Oct 22, 2024
1 parent bf8e7a8 commit 17aba42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/anariConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include(CMakeFindDependencyMacro)
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_dependency(Threads)

if (@VIEWER_ENABLE_GLTF@)
if (@CTS_ENABLE_GLTF@ OR @VIEWER_ENABLE_GLTF@)
find_dependency(draco)
find_dependency(WebP)
endif()
Expand Down

0 comments on commit 17aba42

Please sign in to comment.