We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73e828a commit 6880e94Copy full SHA for 6880e94
CMakeLists.txt
@@ -1,10 +1,5 @@
1
cmake_minimum_required(VERSION 3.16)
2
3
-# Avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24:
4
-if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
5
- cmake_policy(SET CMP0135 NEW)
6
-endif()
7
-
8
# Adapt compiler flags if using Conda compiler packages. Before project so they are not modified.
9
include(cmake/Conda.cmake)
10
cmake/DependenciesResolver.cmake
@@ -5,6 +5,10 @@
# Based and fetch content, it avoids using `add_subdirectory` which exposes other project
# targets and errors as part of this project.
+# Avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24:
+if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
+ cmake_policy(SET CMP0135 NEW)
11
+endif()
12
13
include(FetchContent)
14
0 commit comments