summaryrefslogtreecommitdiff
path: root/3rdparty/cmake/FindMYSQL.cmake
diff options
context:
space:
mode:
authorflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-12 22:01:45 +0000
committerflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-12 22:01:45 +0000
commita0383842abeb49c65c05832b51161dfaecc67fcb (patch)
tree489e6049329c2faa8e53d778abdd34369dd84a5a /3rdparty/cmake/FindMYSQL.cmake
parent9349df4e5fa122fd74d632d4227f8c1a1f32c36d (diff)
downloadhercules-a0383842abeb49c65c05832b51161dfaecc67fcb.tar.gz
hercules-a0383842abeb49c65c05832b51161dfaecc67fcb.tar.bz2
hercules-a0383842abeb49c65c05832b51161dfaecc67fcb.tar.xz
hercules-a0383842abeb49c65c05832b51161dfaecc67fcb.zip
* CMake: added search for math.h, added search for socket/nsl library. (tested with Solaris-201011-x86)
* Added missing include to socket.c. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14903 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to '3rdparty/cmake/FindMYSQL.cmake')
-rw-r--r--3rdparty/cmake/FindMYSQL.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/3rdparty/cmake/FindMYSQL.cmake b/3rdparty/cmake/FindMYSQL.cmake
index 0a07f3612..c18e8d637 100644
--- a/3rdparty/cmake/FindMYSQL.cmake
+++ b/3rdparty/cmake/FindMYSQL.cmake
@@ -10,6 +10,7 @@ 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" )
@@ -18,6 +19,7 @@ find_library( MYSQL_LIBRARIES
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 )