package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
540 B
15 lines
540 B
1 year ago
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index d9dbd66..87c92e6 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -379,8 +379,7 @@ if (BUILD_MYSQL)
|
||
|
|
||
|
if (DROGON_FOUND_MYSQL)
|
||
|
message(STATUS "Ok! We find mariadb!")
|
||
|
- include(CheckLibraryExists)
|
||
|
- check_library_exists(${MYSQL_LIB_NAME} mysql_optionsv "" HAS_MYSQL_OPTIONSV)
|
||
|
+ set(HAS_MYSQL_OPTIONSV TRUE)
|
||
|
if (HAS_MYSQL_OPTIONSV)
|
||
|
message(STATUS "Mariadb support mysql_optionsv")
|
||
|
add_definitions(-DHAS_MYSQL_OPTIONSV)
|