File tree Expand file tree Collapse file tree 2 files changed +9
-12
lines changed
Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 1010
1111cmake_minimum_required (VERSION 3.16)
1212
13- option (
14- KDUTILS_USE_EXTERNAL_DEPENDENCIES
15- "Assume all project dependencies are available on the system. Don't fetch through vcpkg."
16- OFF
13+ option (KDUTILS_USE_EXTERNAL_DEPENDENCIES
14+ "Assume all project dependencies are available on the system. Don't fetch through vcpkg." OFF
1715)
1816
1917# vcpkg manifest mode
Original file line number Diff line number Diff line change 99#
1010function (kdutils_check_submodule_exists name path )
1111 if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR} /${path} /.git" )
12- if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR} /.git" )
13- message (FATAL_ERROR
14- "The ${name} git submodule is not initialized.\n "
15- "Please run the following commands in the source directory (${PROJECT_SOURCE_DIR} ):\n "
16- " git submodule update --init --recursive\n "
12+ if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR} /.git" )
13+ message (
14+ FATAL_ERROR
15+ "The ${name} git submodule is not initialized.\n "
16+ "Please run the following commands in the source directory (${PROJECT_SOURCE_DIR} ):\n "
17+ " git submodule update --init --recursive\n "
1718 )
1819 else ()
19- message (FATAL_ERROR
20- "The ${name} submodule is missing - please report a broken source package.\n "
21- )
20+ message (FATAL_ERROR "The ${name} submodule is missing - please report a broken source package.\n " )
2221 endif ()
2322 endif ()
2423endfunction ()
You can’t perform that action at this time.
0 commit comments