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:
parent
75ce4f7b35
commit
637afd05ae
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user