Skip to content

Commit

Permalink
fix(bindings/cpp): remove the warning of CMP0135 (#5346)
Browse files Browse the repository at this point in the history
  • Loading branch information
PragmaTwice authored Nov 19, 2024
1 parent 729f3fb commit 9b55733
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bindings/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
# under the License.

cmake_minimum_required(VERSION 3.22)

# CMP0135: set the timestamps of all extracted contents
# to the time of the extraction in FetchContent
if (POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()

project(opendal-cpp LANGUAGES CXX)

include(FetchContent)
Expand Down

0 comments on commit 9b55733

Please sign in to comment.