We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 638adae commit 6b27f33Copy full SHA for 6b27f33
CMakeLists.txt
@@ -21,10 +21,10 @@ if(GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
21
execute_process(COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive
22
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
23
RESULT_VARIABLE UPDATE_SUBMODULES_RESULT
24
-)
25
-if(NOT UPDATE_SUBMODULES_RESULT EQUAL "0")
26
- message(FATAL_ERROR "git submodule update failed!")
27
-endif()
+ )
+ if(NOT UPDATE_SUBMODULES_RESULT EQUAL "0")
+ message(FATAL_ERROR "git submodule update failed!")
+ endif()
28
endif()
29
30
# exe
0 commit comments