--- a/gnat/tests/spawn_glib_tests.gpr
+++ b/gnat/tests/spawn_glib_tests.gpr
@@ -4,7 +4,7 @@
 --  SPDX-License-Identifier: Apache-2.0
 --

-with "spawn_glib";
+with "../spawn_glib";

 project Spawn_Glib_Tests is

--- a/gnat/tests/spawn_tests.gpr
+++ b/gnat/tests/spawn_tests.gpr
@@ -4,7 +4,7 @@
 --  SPDX-License-Identifier: Apache-2.0
 --

-with "spawn";
+with "../spawn";

 project Spawn_Tests is
