File tree Expand file tree Collapse file tree 6 files changed +8
-36
lines changed Expand file tree Collapse file tree 6 files changed +8
-36
lines changed Original file line number Diff line number Diff line change @@ -149,11 +149,7 @@ else()
149
149
GIT_TAG ${UMF_HWLOC_TAG}
150
150
PATCH_COMMAND ${HWLOC_PATCH} SOURCE_SUBDIR contrib/windows-cmake/
151
151
FIND_PACKAGE_ARGS )
152
-
153
- FetchContent_GetProperties (hwloc_targ )
154
- if (NOT hwloc_targ_POPULATED )
155
- FetchContent_MakeAvailable (hwloc_targ )
156
- endif ()
152
+ FetchContent_MakeAvailable (hwloc_targ )
157
153
158
154
set (LIBHWLOC_INCLUDE_DIRS
159
155
${hwloc_targ_SOURCE_DIR} /include;${hwloc_targ_BINARY_DIR}/include )
@@ -178,11 +174,7 @@ else()
178
174
GIT_REPOSITORY ${UMF_HWLOC_REPO}
179
175
GIT_TAG ${UMF_HWLOC_TAG}
180
176
PATCH_COMMAND ${HWLOC_PATCH} )
181
-
182
- FetchContent_GetProperties (hwloc_targ )
183
- if (NOT hwloc_targ_POPULATED )
184
- FetchContent_MakeAvailable (hwloc_targ )
185
- endif ()
177
+ FetchContent_MakeAvailable (hwloc_targ )
186
178
187
179
add_custom_command (
188
180
COMMAND ./autogen.sh
Original file line number Diff line number Diff line change @@ -35,11 +35,7 @@ FetchContent_Declare(
35
35
GIT_REPOSITORY ${CUDA_REPO}
36
36
GIT_TAG ${CUDA_TAG}
37
37
EXCLUDE_FROM_ALL )
38
-
39
- FetchContent_GetProperties (cuda-headers )
40
- if (NOT cuda-headers_POPULATED )
41
- FetchContent_Populate (cuda-headers )
42
- endif ()
38
+ FetchContent_MakeAvailable (cuda-headers )
43
39
44
40
set (CUDA_INCLUDE_DIRS
45
41
${cuda-headers_SOURCE_DIR}
Original file line number Diff line number Diff line change @@ -36,11 +36,7 @@ FetchContent_Declare(
36
36
GIT_REPOSITORY ${LEVEL_ZERO_LOADER_REPO}
37
37
GIT_TAG ${LEVEL_ZERO_LOADER_TAG}
38
38
EXCLUDE_FROM_ALL )
39
-
40
- FetchContent_GetProperties (level-zero-loader )
41
- if (NOT level-zero-loader_POPULATED )
42
- FetchContent_Populate (level-zero-loader )
43
- endif ()
39
+ FetchContent_MakeAvailable (level-zero-loader )
44
40
45
41
set (LEVEL_ZERO_INCLUDE_DIRS
46
42
${level-zero-loader_SOURCE_DIR}/include
Original file line number Diff line number Diff line change @@ -36,11 +36,7 @@ FetchContent_Declare(
36
36
GIT_REPOSITORY ${LEVEL_ZERO_LOADER_REPO}
37
37
GIT_TAG ${LEVEL_ZERO_LOADER_TAG}
38
38
EXCLUDE_FROM_ALL )
39
-
40
- FetchContent_GetProperties (level-zero-loader )
41
- if (NOT level-zero-loader_POPULATED )
42
- FetchContent_Populate (level-zero-loader )
43
- endif ()
39
+ FetchContent_MakeAvailable (level-zero-loader )
44
40
45
41
set (LEVEL_ZERO_INCLUDE_DIRS
46
42
${level-zero-loader_SOURCE_DIR}/include
Original file line number Diff line number Diff line change @@ -32,11 +32,7 @@ if(UMF_BUILD_LEVEL_ZERO_PROVIDER AND (UMF_BUILD_GPU_TESTS
32
32
GIT_REPOSITORY ${LEVEL_ZERO_LOADER_REPO}
33
33
GIT_TAG ${LEVEL_ZERO_LOADER_TAG}
34
34
EXCLUDE_FROM_ALL )
35
-
36
- FetchContent_GetProperties (level-zero-loader )
37
- if (NOT level-zero-loader_POPULATED )
38
- FetchContent_Populate (level-zero-loader )
39
- endif ()
35
+ FetchContent_MakeAvailable (level-zero-loader )
40
36
41
37
set (LEVEL_ZERO_INCLUDE_DIRS
42
38
${level-zero-loader_SOURCE_DIR}/include
@@ -62,11 +58,7 @@ if(UMF_BUILD_CUDA_PROVIDER)
62
58
GIT_REPOSITORY ${CUDA_REPO}
63
59
GIT_TAG ${CUDA_TAG}
64
60
EXCLUDE_FROM_ALL )
65
-
66
- FetchContent_GetProperties (cuda-headers )
67
- if (NOT cuda-headers_POPULATED )
68
- FetchContent_Populate (cuda-headers )
69
- endif ()
61
+ FetchContent_MakeAvailable (cuda-headers )
70
62
71
63
set (CUDA_INCLUDE_DIRS
72
64
${cuda-headers_SOURCE_DIR}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ include(FetchContent)
9
9
FetchContent_Declare (
10
10
googletest
11
11
GIT_REPOSITORY https://github.com/google/googletest.git
12
- GIT_TAG release-1.12.1 )
12
+ GIT_TAG v1.15.2 )
13
13
14
14
# For Windows: Prevent overriding the parent project's compiler/linker settings
15
15
set (gtest_force_shared_crt
You can’t perform that action at this time.
0 commit comments