mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
fix bug in mac
This commit is contained in:
parent
d486ad9db2
commit
1a6840d3be
@ -17,7 +17,7 @@
|
|||||||
include(CheckCXXSourceCompiles)
|
include(CheckCXXSourceCompiles)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
find_path(MYSQL_INCLUDE_DIR mysql.h
|
find_path(MYSQL_INCLUDE_DIR mysql/mysql.h
|
||||||
PATHS
|
PATHS
|
||||||
$ENV{MYSQL_INCLUDE_DIR}
|
$ENV{MYSQL_INCLUDE_DIR}
|
||||||
$ENV{MYSQL_DIR}/include
|
$ENV{MYSQL_DIR}/include
|
||||||
@ -26,7 +26,7 @@ if(WIN32)
|
|||||||
$ENV{ProgramW6432}/MySQL/*/include
|
$ENV{ProgramW6432}/MySQL/*/include
|
||||||
)
|
)
|
||||||
else(WIN32)
|
else(WIN32)
|
||||||
find_path(MYSQL_INCLUDE_DIR mysql.h
|
find_path(MYSQL_INCLUDE_DIR mysql/mysql.h
|
||||||
PATHS
|
PATHS
|
||||||
$ENV{MYSQL_INCLUDE_DIR}
|
$ENV{MYSQL_INCLUDE_DIR}
|
||||||
$ENV{MYSQL_DIR}/include
|
$ENV{MYSQL_DIR}/include
|
||||||
|
Loading…
Reference in New Issue
Block a user