mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Update CMakeLists.txt
This commit is contained in:
parent
94f4459d5b
commit
21c9797d1a
2
vendor/POCO/Data/MySQL/CMakeLists.txt
vendored
2
vendor/POCO/Data/MySQL/CMakeLists.txt
vendored
@ -37,7 +37,7 @@ endif()
|
|||||||
# Some instalations don't have mysql_reset_connection() even if their version indicates otherwise
|
# Some instalations don't have mysql_reset_connection() even if their version indicates otherwise
|
||||||
# Debian 9 (Stretch) is one such example
|
# Debian 9 (Stretch) is one such example
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
file(STRINGS "${MYSQL_INCLUDE_DIR}/mysql.h" lines REGEX "mysql_reset_connection")
|
file(STRINGS "${MYSQL_INCLUDE_DIR}/mysql/mysql.h" lines REGEX "mysql_reset_connection")
|
||||||
if(lines)
|
if(lines)
|
||||||
target_compile_definitions(DataMySQL PRIVATE HAVE_MYSQL_RESET_CONNECTION)
|
target_compile_definitions(DataMySQL PRIVATE HAVE_MYSQL_RESET_CONNECTION)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user