Skip to content

Commit 5e008b6

Browse files
committed
chore: Simplify build-system removing unneeded FetchContent calls
Following 7a70669 ("feat: use a submodule for ninja sources (scikit-build#278)", 2025-03-20), attempting to fetch sources is superfluous.
1 parent 020195e commit 5e008b6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@ message(STATUS "")
1313
message(STATUS " RUN_NINJA_TEST : ${RUN_NINJA_TEST}")
1414
message(STATUS "************************************")
1515

16-
include(FetchContent)
17-
FetchContent_Declare(
18-
ninja
19-
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/ninja-upstream
20-
)
21-
FetchContent_MakeAvailable(ninja)
22-
2316
if(RUN_NINJA_TEST)
2417
add_custom_target(
2518
run_ninja_test ALL "$<TARGET_FILE:ninja_test>" ${TEST_OPTS}

0 commit comments

Comments
 (0)