9 lines
382 B
CMake
9 lines
382 B
CMake
if(SQLITE_VERSION VERSION_LESS 3.3 AND NOT BUILD_SYSTEM_TESTS)
|
|
message(FATAL_ERROR "SQLite version 3.3 or higher is required")
|
|
else()
|
|
add_library(mysqlauth SHARED mysql_auth.cc dbusers.cc)
|
|
target_link_libraries(mysqlauth maxscale-common mysqlcommon)
|
|
set_target_properties(mysqlauth PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
|
install_module(mysqlauth core)
|
|
endif()
|