1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-05 16:15:50 +03:00
Files
mariadb-columnstore-engine/cmake/ColumnstoreLibrary.cmake
Leonid Fedorov 2036e521c7 named linkage
2025-05-20 18:22:59 +04:00

9 lines
293 B
CMake

# Function to create either a static or shared library based on COLUMNSTORE_STATIC_LIBRARIES
macro(columnstore_library libname)
if(COLUMNSTORE_STATIC_LIBRARIES)
add_library(${libname} STATIC ${ARGN})
else()
add_library(${libname} SHARED ${ARGN})
endif()
endmacro()