diff --git a/cpp/plugins/cucim.kit.cuslide/cmake/deps/pugixml.cmake b/cpp/plugins/cucim.kit.cuslide/cmake/deps/pugixml.cmake index 9e509645..7db33032 100644 --- a/cpp/plugins/cucim.kit.cuslide/cmake/deps/pugixml.cmake +++ b/cpp/plugins/cucim.kit.cuslide/cmake/deps/pugixml.cmake @@ -19,19 +19,15 @@ if (NOT TARGET deps::pugixml) GIT_REPOSITORY https://github.com/zeux/pugixml.git GIT_TAG v1.11.1 GIT_SHALLOW TRUE + EXCLUDE_FROM_ALL ) - FetchContent_GetProperties(deps-pugixml) - if (NOT deps-pugixml_POPULATED) - message(STATUS "Fetching pugixml sources") - FetchContent_Populate(deps-pugixml) - message(STATUS "Fetching pugixml sources - done") - endif () + message(STATUS "Fetching pugixml sources") # Create static library cucim_set_build_shared_libs(OFF) + FetchContent_MakeAvailable(deps-pugixml) - add_subdirectory(${deps-pugixml_SOURCE_DIR} ${deps-pugixml_BINARY_DIR} EXCLUDE_FROM_ALL) - + message(STATUS "Fetching pugixml sources - done") # Disable visibility to not expose unnecessary symbols set_target_properties(pugixml-static PROPERTIES diff --git a/python/cmake/deps/fmt.cmake b/python/cmake/deps/fmt.cmake index affcb58c..2e08bc3b 100644 --- a/python/cmake/deps/fmt.cmake +++ b/python/cmake/deps/fmt.cmake @@ -1,5 +1,5 @@ # -# Copyright (c) 2020, NVIDIA CORPORATION. +# Copyright (c) 2020-2025, NVIDIA CORPORATION. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/python/cmake/deps/json.cmake b/python/cmake/deps/json.cmake index 34206c8f..a22f3c63 100644 --- a/python/cmake/deps/json.cmake +++ b/python/cmake/deps/json.cmake @@ -1,5 +1,5 @@ # -# Copyright (c) 2020, NVIDIA CORPORATION. +# Copyright (c) 2020-2025, NVIDIA CORPORATION. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/python/cmake/deps/pybind11.cmake b/python/cmake/deps/pybind11.cmake index ca3c0d61..19aab2ec 100644 --- a/python/cmake/deps/pybind11.cmake +++ b/python/cmake/deps/pybind11.cmake @@ -1,5 +1,5 @@ # -# Copyright (c) 2020, NVIDIA CORPORATION. +# Copyright (c) 2020-2025, NVIDIA CORPORATION. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/python/cmake/deps/pybind11_json.cmake b/python/cmake/deps/pybind11_json.cmake index 183e4f6e..c7f16d5f 100644 --- a/python/cmake/deps/pybind11_json.cmake +++ b/python/cmake/deps/pybind11_json.cmake @@ -1,5 +1,5 @@ # -# Copyright (c) 2020, NVIDIA CORPORATION. +# Copyright (c) 2020-2025, NVIDIA CORPORATION. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at