diff options
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/3rdparty/CMakeLists.txt b/src/3rdparty/CMakeLists.txt index d6ef4f3a56..56b81bb7af 100644 --- a/src/3rdparty/CMakeLists.txt +++ b/src/3rdparty/CMakeLists.txt @@ -1,17 +1,17 @@ # special case skip regeneration # The file is maintained manually -if(QT_FEATURE_png AND NOT QT_FEATURE_system_png) +if(QT_FEATURE_gui AND QT_FEATURE_png AND NOT QT_FEATURE_system_png) add_subdirectory(libpng) endif() qt_install_3rdparty_library_wrap_config_extra_file(BundledLibpng) -if(QT_FEATURE_freetype AND NOT QT_FEATURE_system_freetype) +if(QT_FEATURE_gui AND QT_FEATURE_freetype AND NOT QT_FEATURE_system_freetype) add_subdirectory(freetype) endif() qt_install_3rdparty_library_wrap_config_extra_file(BundledFreetype) -if(QT_FEATURE_harfbuzz AND NOT QT_FEATURE_system_harfbuzz) +if(QT_FEATURE_gui AND QT_FEATURE_harfbuzz AND NOT QT_FEATURE_system_harfbuzz) add_subdirectory(harfbuzz-ng) endif() qt_install_3rdparty_library_wrap_config_extra_file(BundledHarfbuzz) |