Browse Source

Fix some cmake issues (xattr and mysql)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2437 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.23
Stefan Bühler 13 years ago
parent
commit
a8ffcb783a
  1. 8
      src/CMakeLists.txt

8
src/CMakeLists.txt

@ -174,7 +174,9 @@ ENDMACRO(XCONFIG _package _include_DIR _link_DIR _link_FLAGS _cflags)
IF(WITH_XATTR)
CHECK_INCLUDE_FILES(attr/attributes.h HAVE_ATTR_ATTRIBUTES_H)
CHECK_LIBRARY_EXISTS(attr attr_get "" HAVE_XATTR)
IF(HAVE_ATTR_ATTRIBUTES_H)
CHECK_LIBRARY_EXISTS(attr attr_get "" HAVE_XATTR)
ENDIF(HAVE_ATTR_ATTRIBUTES_H)
ENDIF(WITH_XATTR)
IF(WITH_MYSQL)
@ -508,10 +510,10 @@ ADD_TARGET_PROPERTIES(mod_magnet COMPILE_FLAGS ${LUA_CFLAGS})
ADD_TARGET_PROPERTIES(mod_cml LINK_FLAGS ${LUA_LDFLAGS})
ADD_TARGET_PROPERTIES(mod_cml COMPILE_FLAGS ${LUA_CFLAGS})
IF(HAVE_MYSQL_H AND HAVE_LIBMYSQL)
IF(HAVE_MYSQL_H AND HAVE_MYSQL)
TARGET_LINK_LIBRARIES(mod_mysql_vhost mysqlclient)
INCLUDE_DIRECTORIES(/usr/include/mysql)
ENDIF(HAVE_MYSQL_H AND HAVE_LIBMYSQL)
ENDIF(HAVE_MYSQL_H AND HAVE_MYSQL)
SET(L_MOD_WEBDAV)
IF(HAVE_SQLITE3_H)

Loading…
Cancel
Save