changeset 1312:6446c0eea547 1.2.1b

Fix cmake search logic for MySQL
author Sebastien Decugis <sdecugis@nict.go.jp>
date Mon, 19 Sep 2016 00:23:41 +0900
parents 41284cc2d35b
children a04bea4d1aa6
files cmake/Modules/FindMySQL.cmake
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cmake/Modules/FindMySQL.cmake	Mon Sep 19 00:01:47 2016 +0900
+++ b/cmake/Modules/FindMySQL.cmake	Mon Sep 19 00:23:41 2016 +0900
@@ -21,7 +21,8 @@
 
 # Library
 #SET(MySQL_NAMES mysqlclient mysqlclient_r)
-SET(MySQL_NAMES mysqlclient_r)
+#SET(MySQL_NAMES mysqlclient_r)
+SET(MySQL_NAMES mysqlclient_r mysqlclient)
 FIND_LIBRARY(MySQL_LIBRARY
   NAMES ${MySQL_NAMES}
   PATHS /usr/lib /usr/local/lib
"Welcome to our mercurial repository"