fix: noconfirm auto-selects first AUR match
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
# SPDX-license-identifier: Apache-2.0
|
||||
# Copyright © 2021 Intel Corporation
|
||||
project('existing project with new subproject', 'c')
|
||||
|
||||
if get_option('use-sub')
|
||||
dep = subproject('sub')
|
||||
endif
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
# SPDX-license-identifier: Apache-2.0
|
||||
# Copyright © 2021 Intel Corporation
|
||||
option('use-sub', type : 'boolean', value : false)
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
/* SPDX-license-identifier: Apache-2.0 */
|
||||
/* Copyright © 2021 Intel Corporation */
|
||||
|
||||
int func(void) {
|
||||
return 1;
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
# SPDX-license-identifier: Apache-2.0
|
||||
# Copyright © 2021 Intel Corporation
|
||||
project('new subproject', 'c')
|
||||
|
||||
l = library('foo', 'foo.c')
|
||||
|
||||
dep = declare_dependency(link_with : l)
|
||||
Reference in New Issue
Block a user