0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Update FindMariaDB.cmake

Users can use -DCMAKE_LIBRARY_PATH=${INSTALL}/lib without needing to specify mariadb separately like -DCMAKE_LIBRARY_PATH=${INSTALL}/lib/mariadb
This commit is contained in:
JoyBinY 2024-04-09 15:23:29 +08:00 committed by Roland Bock
parent 75ce4f7b35
commit 637afd05ae

View File

@ -43,7 +43,10 @@ else()
NAMES mariadb_version.h
PATH_SUFFIXES mariadb mysql
)
find_library(MariaDB_LIBRARY NAMES mariadb)
find_library(MariaDB_LIBRARY
NAMES mariadb
PATH_SUFFIXES mariadb mysql
)
endif()
include(FindPackageHandleStandardArgs)