Fix check for source files

This commit is contained in:
Martchus 2018-09-24 22:39:09 +02:00
parent 252e91c819
commit 3c02ad6d92
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ endif()
list(APPEND META_ADDITIONAL_STATIC_LINK_FLAGS -static-libstdc++ -static-libgcc)
# determine whether the project is a header-only library
if(SRC_FILES OR WIDGETS_FILES OR QML_FILES OR RES_FILES)
if(SRC_FILES OR GUI_SRC_FILES OR WIDGETS_SRC_FILES OR WIDGETS_UI_FILES OR QML_SRC_FILES OR RES_FILES)
set(META_HEADER_ONLY_LIB NO)
else()
set(META_HEADER_ONLY_LIB YES)