mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
Deal with empty elements in LIB_DEPENDS list (in some older 2.6 version
empty element produces a warning)
This commit is contained in:
parent
70efcdb592
commit
6091456986
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
|
||||
|
||||
SET(CMAKE_SYSTEM_NAME @CMAKE_SYSTEM_NAME@)
|
||||
SET(UNIX @UNIX@)
|
||||
SET(WIN32 @WIN32@)
|
||||
|
@ -88,6 +90,7 @@ ENDIF()
|
|||
# mysqlclient library (add -l stuff)
|
||||
SET(CLIENT_LIBS "")
|
||||
SET(LIBS "")
|
||||
LIST(REMOVE_ITEM mysqlclient_LIB_DEPENDS "")
|
||||
LIST(REMOVE_DUPLICATES mysqlclient_LIB_DEPENDS)
|
||||
FOREACH(lib ${mysqlclient_LIB_DEPENDS})
|
||||
# Filter out "general", it is not a library, just CMake hint
|
||||
|
|
Loading…
Reference in a new issue