mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 04:17:33 +00:00
Make it possible for cmake to find mysql.h
This commit is contained in:
parent
a6e63bcaa0
commit
7065ba251e
@ -81,7 +81,7 @@ if(BUILD_NCURSES)
|
||||
endif(BUILD_NCURSES)
|
||||
|
||||
if(BUILD_MYSQL)
|
||||
find_path(mysql_INCLUDE_PATH mysql.h ${INCLUDE_SEARCH_PATH})
|
||||
find_path(mysql_INCLUDE_PATH mysql.h ${INCLUDE_SEARCH_PATH} /usr/include/mysql /usr/local/include/mysql)
|
||||
if(NOT mysql_INCLUDE_PATH)
|
||||
message(FATAL_ERROR "Unable to find mysql.h")
|
||||
endif(NOT mysql_INCLUDE_PATH)
|
||||
|
Loading…
Reference in New Issue
Block a user