We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ff5b42 commit 6f4cc4fCopy full SHA for 6f4cc4f
1 file changed
fetch_ic.cmake
@@ -5,11 +5,15 @@
5
6
include_guard(GLOBAL)
7
8
+if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.24.0")
9
+ set(download_extract_timestamp "DOWNLOAD_EXTRACT_TIMESTAMP true")
10
+endif()
11
+
12
include(FetchContent)
13
14
FetchContent_Declare(ic_cmake
15
URL https://github.com/intercreate/test-cmake/releases/latest/download/ic.zip
- DOWNLOAD_EXTRACT_TIMESTAMP true
16
+ ${download_extract_timestamp}
17
)
18
FetchContent_MakeAvailable(ic_cmake)
19
0 commit comments