diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-07-07 15:24:45 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-07-09 09:38:28 +0200 |
commit | 74cb331af3cfe723ae16cd1b00c9dd9291b4e7e9 (patch) | |
tree | 0f4ee41beba41f67a2ea0bb6c0134843a32c9ab6 /examples/xml/CMakeLists.txt | |
parent | d98a6d0463fd00e5463828b6a3e4e20db7d6d63e (diff) |
CMake: Regenerate examples
Change-Id: I1c51b10af4e2b26f54740f257164c56a0e2a03ce
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'examples/xml/CMakeLists.txt')
-rw-r--r-- | examples/xml/CMakeLists.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/xml/CMakeLists.txt b/examples/xml/CMakeLists.txt index 9291c191e0..8e145b4ccb 100644 --- a/examples/xml/CMakeLists.txt +++ b/examples/xml/CMakeLists.txt @@ -2,12 +2,10 @@ add_subdirectory(htmlinfo) add_subdirectory(xmlstreamlint) - if(TARGET Qt::Widgets) add_subdirectory(dombookmarks) add_subdirectory(streambookmarks) - - if(TARGET Qt::Network) - add_subdirectory(rsslisting) - endif() +endif() +if(TARGET Qt::Network AND TARGET Qt::Widgets) + add_subdirectory(rsslisting) endif() |