private headers fix

This commit is contained in:
2020-09-10 21:23:45 +03:00
parent 9a6fab980c
commit b3a3b32a6f

View File

@@ -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})