diff options
-rw-r--r-- | src/plugins/sqldrivers/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/tools/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/sqldrivers/CMakeLists.txt b/src/plugins/sqldrivers/CMakeLists.txt index 91c971790b..b704e272f6 100644 --- a/src/plugins/sqldrivers/CMakeLists.txt +++ b/src/plugins/sqldrivers/CMakeLists.txt @@ -36,7 +36,7 @@ include(configure.cmake) qt_feature_module_end(NO_MODULE) -if(QT_FEATURE_sql_psql) +if(QT_FEATURE_sql_psql AND QT_FEATURE_regularexpression) add_subdirectory(psql) endif() diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index 13a870ac9e..e30c246d38 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -10,7 +10,7 @@ if (QT_FEATURE_commandlineparser) endif() # Only include the following tools when performing a host build -if(NOT CMAKE_CROSSCOMPILING) +if(NOT CMAKE_CROSSCOMPILING AND QT_FEATURE_regularexpression) add_subdirectory(androiddeployqt) if(QT_FEATURE_gui AND QT_FEATURE_systemsemaphore) add_subdirectory(androidtestrunner) |