diff --git a/CMakeLists.txt b/CMakeLists.txt index acc7b20c..8abc8943 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,9 @@ macro(pip_module NAME LIBS LABEL INCLUDES MSG) file(GLOB_RECURSE HS "libs/${NAME}/*.h") file(GLOB_RECURSE PHS "libs/${NAME}/*_p.h") file(GLOB_RECURSE RES "libs/${NAME}/*.conf") - list(REMOVE_ITEM HS "${PHS}") + if (NOT "x${PHS}" STREQUAL "x") + list(REMOVE_ITEM HS ${PHS}) + endif() list(APPEND HDRS ${HS}) list(APPEND PHDRS ${PHS})