diff options
author | Shido <the.keikun@gmail.com> | 2014-05-18 02:17:43 +0800 |
---|---|---|
committer | Shido <the.keikun@gmail.com> | 2014-05-30 09:20:05 +0800 |
commit | 90e074b3d791b6df55ba62d1209c124233c4135b (patch) | |
tree | d3c9d26b2d7ba1a5ab124b0bdced0e05eb42e9ca /3rdparty/cmake/FindMYSQL.cmake | |
parent | 05902619eb900472906b9cce38b276e3517d1719 (diff) | |
download | hercules-90e074b3d791b6df55ba62d1209c124233c4135b.tar.gz hercules-90e074b3d791b6df55ba62d1209c124233c4135b.tar.bz2 hercules-90e074b3d791b6df55ba62d1209c124233c4135b.tar.xz hercules-90e074b3d791b6df55ba62d1209c124233c4135b.zip |
Removed 3rdparty/cmake and item_db.pl (Suggested by Haruna)
Diffstat (limited to '3rdparty/cmake/FindMYSQL.cmake')
-rw-r--r-- | 3rdparty/cmake/FindMYSQL.cmake | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/3rdparty/cmake/FindMYSQL.cmake b/3rdparty/cmake/FindMYSQL.cmake deleted file mode 100644 index 9da72073a..000000000 --- a/3rdparty/cmake/FindMYSQL.cmake +++ /dev/null @@ -1,37 +0,0 @@ -# - Find libmysql/mysqlclient -# Find the native MySQL includes and library -# -# MYSQL_INCLUDE_DIRS - where to find mysql.h, etc. -# MYSQL_LIBRARIES - mysqlclient library. -# MYSQL_FOUND - True if mysqlclient is found. -# - -find_path( MYSQL_INCLUDE_DIRS "mysql.h" - PATHS - "/usr/include/mysql" - "/usr/local/include/mysql" - "/usr/mysql/include/mysql" - "$ENV{PROGRAMFILES}/MySQL/*/include" - "$ENV{SYSTEMDRIVE}/MySQL/*/include" ) - -find_library( MYSQL_LIBRARIES - NAMES "libmysql" "mysqlclient" "mysqlclient_r" - PATHS - "/usr/lib/mysql" - "/usr/local/lib/mysql" - "/usr/mysql/lib/mysql" - "$ENV{PROGRAMFILES}/MySQL/*/lib" - "$ENV{SYSTEMDRIVE}/MySQL/*/lib" ) -mark_as_advanced( MYSQL_LIBRARIES MYSQL_INCLUDE_DIRS ) - -if( MYSQL_INCLUDE_DIRS AND EXISTS "${MYSQL_INCLUDE_DIRS}/mysql_version.h" ) - file( STRINGS "${MYSQL_INCLUDE_DIRS}/mysql_version.h" MYSQL_VERSION_H REGEX "^#define[ \t]+MYSQL_SERVER_VERSION[ \t]+\"[^\"]+\".*$" ) - string( REGEX REPLACE "^.*MYSQL_SERVER_VERSION[ \t]+\"([^\"]+)\".*$" "\\1" MYSQL_VERSION_STRING "${MYSQL_VERSION_H}" ) -endif() - -# handle the QUIETLY and REQUIRED arguments and set MYSQL_FOUND to TRUE if -# all listed variables are TRUE -include( FindPackageHandleStandardArgs ) -FIND_PACKAGE_HANDLE_STANDARD_ARGS( MYSQL - REQUIRED_VARS MYSQL_LIBRARIES MYSQL_INCLUDE_DIRS - VERSION_VAR MYSQL_VERSION_STRING ) |