From 17aba425fbb3c1b6730076b3cc090eca951f7e28 Mon Sep 17 00:00:00 2001 From: Jefferson Amstutz Date: Tue, 22 Oct 2024 15:20:34 -0500 Subject: [PATCH] add missing check to find draco and WebP in downstream CMake projects --- cmake/anariConfig.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/anariConfig.cmake.in b/cmake/anariConfig.cmake.in index 75e94517..e7716c22 100644 --- a/cmake/anariConfig.cmake.in +++ b/cmake/anariConfig.cmake.in @@ -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()