diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8226e14..392016c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,18 @@ project(QtActiveQt # special case LANGUAGES CXX C ) +if (NOT WIN32) + message(NOTICE "Condition \"WIN32\" is not met, enabling documentation build only.") + # special case begin + set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE) + find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals) + qt_build_repo_begin() + add_subdirectory(src/activeqt/doc) + qt_build_repo_end() + # special case end + return() +endif() + find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) # special case find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Qml Quick Gui Widgets PrintSupport) # special case |