mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Fix mariadb include dir not found
This commit is contained in:
parent
2aa9797117
commit
c550694b44
@ -24,12 +24,18 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
if(DEFINED MSVC)
|
||||
set(SEARCH_PATHS
|
||||
"$ENV{ProgramFiles}/MariaDB/*"
|
||||
"$ENV{ProgramFiles\(x86\)}/MariaDB/*"
|
||||
)
|
||||
find_path(MariaDB_INCLUDE_DIR
|
||||
NAMES mariadb_version.h
|
||||
PATHS ${SEARCH_PATHS}
|
||||
PATH_SUFFIXES include
|
||||
)
|
||||
find_library(MariaDB_LIBRARY
|
||||
NAMES libmariadb
|
||||
PATHS ${SEARCH_PATHS}
|
||||
PATH_SUFFIXES lib
|
||||
)
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user