diff --git a/CMakeLists.txt b/CMakeLists.txt index a311b65..bfbfbb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,6 +74,8 @@ if (FASTGLTF_DOWNLOAD_SIMDJSON) NAMESPACE fastgltf:: DESTINATION lib/cmake/fastgltf ) +else() + find_package(simdjson CONFIG REQUIRED) endif() # Create the library target