Skip to content

Commit

Permalink
fix CMakeFlag option
Browse files Browse the repository at this point in the history
  • Loading branch information
mariadb-LeonidFedorov committed Sep 6, 2024
1 parent 52c100f commit 69b67b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,8 @@ INSTALL (
)
CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR}/columnstoreversion.h.in ${CMAKE_CURRENT_SOURCE_DIR}/columnstoreversion.h)

OPTION (COLUMNSTORE_ALL_STATIC "Build every binari without internal shared libraries" OFF)

SET (
COLUMSTORE_INSTALL_INTERNAL_SO_LIST
"usr/lib/*/libbatchloader.so
Expand Down Expand Up @@ -613,9 +615,10 @@ IF (COLUMNSTORE_ALL_STATIC)
SET (COLUMSTORE_INSTALL_INTERNAL_SO_LIST "")
ENDIF ()


CONFIGURE_FILE (
${CMAKE_CURRENT_SOURCE_DIR}/debian/mariadb-plugin-columnstore.install.in
${CMAKE_CURRENT_BINARY_DIR}/debian/mariadb-plugin-columnstore.install
${CMAKE_CURRENT_SOURCE_DIR}/debian/mariadb-plugin-columnstore.install
)

CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR}/mcsconfig.h.in ${CMAKE_CURRENT_BINARY_DIR}/mcsconfig.h)
Expand Down
2 changes: 1 addition & 1 deletion build/bootstrap_mcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ build()

if [[ $STATIC_BUILD = true ]] ; then
warn "Building all with static linkage"
MDB_CMAKE_FLAGS="${MDB_CMAKE_FLAGS} -DCOLUMNSTORE_ALL_STATIC"
MDB_CMAKE_FLAGS="${MDB_CMAKE_FLAGS} -DCOLUMNSTORE_ALL_STATIC:BOOL=ON"
fi

if [[ $MAKEFILE_VERBOSE = true ]] ; then
Expand Down

0 comments on commit 69b67b6

Please sign in to comment.