Commit 52747434 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

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

parent f65e5841
......@@ -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()
......
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