mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 20:37:50 +08:00
14 lines
349 B
Diff
14 lines
349 B
Diff
|
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
|