fix embedded build with for cmake 2.6.2 (older cmake could not handle IF(NOT MATCHES)
This commit is contained in:
parent
f65e5841d7
commit
52747434e5
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user