Commit 181fd2e 1 parent 62294ea commit 181fd2e Copy full SHA for 181fd2e
File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,7 @@ if(GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
14
14
execute_process (COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive
15
15
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
16
16
RESULT_VARIABLE GIT_SUBMOD_RESULT)
17
- # git submodule update --remote
18
- execute_process (COMMAND ${GIT_EXECUTABLE} submodule update --remote
17
+ execute_process (COMMAND ${GIT_EXECUTABLE} submodule update --remote --merge
19
18
--merge)
20
19
if (NOT GIT_SUBMOD_RESULT EQUAL "0" )
21
20
message (FATAL_ERROR "git submodule update --init --recursive failed with ${GIT_SUBMOD_RESULT} , please checkout submodules" )
39
38
VERBATIM
40
39
)
41
40
else ()
42
-
41
+
43
42
set (CMAKE_EXPORT_COMPILE_COMMANDS ON )
44
43
set (CMAKE_BUILD_TYPE "Debug" )
45
44
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR} /bin)
You can’t perform that action at this time.
0 commit comments