OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
620e4ff
)
fix regression in the MySQL CMake module
author
Ivailo Monev
<xakepa10@gmail.com>
Wed, 30 Dec 2015 08:16:54 +0000
(10:16 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Wed, 30 Dec 2015 08:16:54 +0000
(10:16 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
cmake/modules/FindMySQL.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/FindMySQL.cmake
b/cmake/modules/FindMySQL.cmake
index
d48dd39
..
7b45fcb
100644
(file)
--- a/
cmake/modules/FindMySQL.cmake
+++ b/
cmake/modules/FindMySQL.cmake
@@
-16,6
+16,7
@@
endif()
find_path(MYSQL_INCLUDES
NAMES
mysql.h
+ PATH_SUFFIXES mysql
HINTS
$ENV{MYSQLDIR}/include
/usr/include
@@
-24,8
+25,7
@@
find_path(MYSQL_INCLUDES
)
find_library(MYSQL_LIBRARIES
- mysql
- PATH_SUFFIXES mysql
+ mysqld
HINTS
$ENV{MYSQLDIR}/lib
/usr/lib