@@ -295,44 +295,40 @@ list(APPEND CMAKE_PREFIX_PATH "${PACKAGE_BUILD_DIR}")
295295# they won't be visible in this scope nor any of the subdirectories for the actual libraries.
296296#
297297# However, for some of the vcpkg built libraries where they don't provide a prope cmake config file, we have to declare
298- # and imporeted library target ourselves. This is the case for modp_b64::modp_b64, picosha2::picosha2 and earcut. In
298+ # an imported library target ourselves. This is the case for modp_b64::modp_b64, picosha2::picosha2 and earcut. In
299299# these cases, we *do* have the somewhat ugly and verbose details in the extern/CMakeLists.txt file.
300300#
301301# XXX Above comment should be obsoleted by these first calls to
302302# find_package, which resolve to our own modules that provide
303303# targets. If needed, they can be installed with CMake config files
304304# etc.
305- find_package (zlib-ng REQUIRED)
306305find_package (modp_b64 REQUIRED)
307306
308307find_package (ada CONFIG REQUIRED)
309308find_package (Async++ CONFIG REQUIRED)
309+ find_package (blend2d CONFIG REQUIRED)
310310find_package (doctest CONFIG REQUIRED)
311311find_package (draco CONFIG REQUIRED)
312312find_package (expected-lite CONFIG REQUIRED)
313313find_package (glm CONFIG REQUIRED)
314314find_package (httplib CONFIG REQUIRED)
315315find_package (Ktx CONFIG REQUIRED)
316- find_package (libmorton CONFIG REQUIRED)
317316find_package (libjpeg-turbo CONFIG REQUIRED)
317+ find_package (libmorton CONFIG REQUIRED)
318318find_package (meshoptimizer CONFIG REQUIRED)
319319find_package (OpenSSL REQUIRED)
320320find_package (s2 CONFIG REQUIRED)
321321find_package (spdlog CONFIG REQUIRED)
322322find_package (tinyxml2 CONFIG REQUIRED)
323323find_package (unofficial-sqlite3 CONFIG REQUIRED)
324324find_package (WebP CONFIG REQUIRED)
325- find_package (blend2d CONFIG REQUIRED)
325+ find_package (zlib-ng CONFIG REQUIRED)
326+
326327# asmjit should not be included with iOS builds as iOS doesn't support JIT compilation.
327328if (NOT IOS AND NOT VCPKG_CMAKE_SYSTEM_NAME MATCHES "iOS" )
328329 find_package (asmjit CONFIG REQUIRED)
329330endif ()
330331
331- if (NOT CESIUM_DISABLE_CURL)
332- find_package (CURL REQUIRED)
333- endif ()
334-
335-
336332if (NOT CESIUM_DISABLE_CURL)
337333 find_package (CURL REQUIRED)
338334endif ()
@@ -386,7 +382,6 @@ if(CESIUM_INSTALL_STATIC_LIBS AND CESIUM_INSTALL_HEADERS)
386382 DESTINATION ${CMAKE_INSTALL_DATADIR} /cesium-native/cmake)
387383
388384 install (FILES
389- "${CMAKE_CURRENT_LIST_DIR} /cmake/modules/Findzlib-ng.cmake"
390385 "${CMAKE_CURRENT_LIST_DIR} /cmake/modules/Findmodp_b64.cmake"
391386 DESTINATION ${CMAKE_INSTALL_DATADIR} /cesium-native/cmake)
392387
0 commit comments