Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion share/c/cmake/DependencyUtil.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2024 Raven Computing
# Copyright (C) 2025 Raven Computing
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -192,6 +192,10 @@ function(dependency)
${ARGN}
)

if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()

# The default URL to use for dependencies declared
# with the DEPENDENCY_RESOURCE short form
set(DEPENDENCY_BASE_URL_DEFAULT "https://github.com")
Expand Down
6 changes: 5 additions & 1 deletion share/cpp/cmake/DependencyUtil.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2024 Raven Computing
# Copyright (C) 2025 Raven Computing
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -192,6 +192,10 @@ function(dependency)
${ARGN}
)

if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()

# The default URL to use for dependencies declared
# with the DEPENDENCY_RESOURCE short form
set(DEPENDENCY_BASE_URL_DEFAULT "https://github.com")
Expand Down