fix embedded build with for cmake 2.6.2 (older cmake could not handle IF(NOT MATCHES)

This commit is contained in:
Vladislav Vaintroub 2013-01-28 17:24:50 +01:00
parent f65e5841d7
commit 52747434e5

View File

@ -152,7 +152,9 @@ ENDIF()
SET(EMBEDDED_API)
FOREACH(f ${CLIENT_API_FUNCTIONS})
IF(NOT(f MATCHES "plugin|_start$|_cont$"))
IF(f MATCHES "plugin|_start$|_cont$")
# Ignore functions, embedded does not export them
ELSE()
SET(EMBEDDED_API ${EMBEDDED_API} ${f})
ENDIF()
ENDFOREACH()