File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ ENDIF()
31
31
32
32
IF (update_result OR NOT EXISTS ${CMAKE_SOURCE_DIR} /libmariadb/CMakeLists.txt )
33
33
MESSAGE (FATAL_ERROR "No MariaDB Connector/C! Run
34
- git submodule update --init
34
+ git submodule update --init --recursive
35
35
Then restart the build.
36
36
" )
37
37
ENDIF ()
Original file line number Diff line number Diff line change @@ -32,6 +32,12 @@ IF(WITH_WSREP)
32
32
# Set the patch version
33
33
SET (WSREP_PATCH_VERSION "22" )
34
34
35
+ IF (NOT EXISTS "${CMAKE_SOURCE_DIR} /wsrep-lib/wsrep-API/v26/wsrep_api.h" )
36
+ MESSAGE (FATAL_ERROR "No MariaDB wsrep-API code! Run
37
+ ${GIT_EXECUTABLE} submodule update --init --recursive
38
+ Then restart the build.
39
+ " )
40
+ ENDIF ()
35
41
# Obtain wsrep API version
36
42
FILE (STRINGS "${CMAKE_SOURCE_DIR} /wsrep-lib/wsrep-API/v26/wsrep_api.h" WSREP_API_VERSION
37
43
LIMIT_COUNT 1 REGEX "WSREP_INTERFACE_VERSION" )
You can’t perform that action at this time.
0 commit comments