Commit 60914569 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Deal with empty elements in LIB_DEPENDS list (in some older 2.6 version

empty element produces a warning)
parent 70efcdb5
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment