File tree 1 file changed +11
-12
lines changed
1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -199,18 +199,6 @@ install_headers(
199
199
subdir : ' arrow/util' ,
200
200
)
201
201
202
- if host_machine .system() == ' windows'
203
- # This manifest enables long file paths on Windows 10+
204
- # See https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#enable-long-paths-in-windows-10-version-1607-and-later
205
- if cpp_compiler.get_id() == ' msvc'
206
- io_util_test_sources = [' io_util_test.cc' , ' io_util_test.manifest' ]
207
- else
208
- io_util_test_sources = [' io_util_test.cc' , ' io_util_test.rc' ]
209
- endif
210
- else
211
- io_util_test_sources = [' io_util_test.cc' ]
212
- endif
213
-
214
202
utility_test_srcs = [
215
203
' align_util_test.cc' ,
216
204
' atfork_test.cc' ,
@@ -226,6 +214,7 @@ utility_test_srcs = [
226
214
' key_value_metadata_test.cc' ,
227
215
' hashing_test.cc' ,
228
216
' int_util_test.cc' ,
217
+ ' io_util_test.cc' ,
229
218
' iterator_test.cc' ,
230
219
' list_util_test.cc' ,
231
220
' logger_test.cc' ,
@@ -250,6 +239,16 @@ utility_test_srcs = [
250
239
' value_parsing_test.cc' ,
251
240
]
252
241
242
+ if host_machine .system() == ' windows'
243
+ # This manifest enables long file paths on Windows 10+
244
+ # See https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#enable-long-paths-in-windows-10-version-1607-and-later
245
+ if cpp_compiler.get_id() == ' msvc'
246
+ utility_test_sources += [' io_util_test.manifest' ]
247
+ else
248
+ utility_test_sources += [' io_util_test.rc' ]
249
+ endif
250
+ endif
251
+
253
252
exc = executable (
254
253
' arrow-utility-test' ,
255
254
sources : utility_test_srcs + io_util_test_sources,
You can’t perform that action at this time.
0 commit comments