summaryrefslogtreecommitdiffstats
path: root/tests/auto/httpserver
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/httpserver')
-rw-r--r--tests/auto/httpserver/httpserver.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/httpserver/httpserver.cmake b/tests/auto/httpserver/httpserver.cmake
index e10c52b76..d67648f9c 100644
--- a/tests/auto/httpserver/httpserver.cmake
+++ b/tests/auto/httpserver/httpserver.cmake
@@ -1,8 +1,8 @@
if (NOT TARGET Test::HttpServer)
- set(CMAKE_AUTOMOC ON)
- set(CMAKE_AUTORCC ON)
- set(CMAKE_AUTOUIC ON)
+ if(NOT QT_SUPERBUILD AND NOT QT_CONFIGURE_RUNNING)
+ set(CMAKE_AUTOMOC ON)
+ endif()
add_library(httpserver STATIC
${CMAKE_CURRENT_LIST_DIR}/httpreqrep.cpp