aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/scripts/common/Macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/common/Macros.cmake b/cmake/scripts/common/Macros.cmake
index d9b1f590f2..e3ae5ed9b1 100644
--- a/cmake/scripts/common/Macros.cmake
+++ b/cmake/scripts/common/Macros.cmake
@@ -433,7 +433,7 @@ function(core_optional_dep)
set(final_message ${final_message} "${depup} enabled: Yes")
# We dont want to add a build tool
- if (NOT ${depspec} IN_LIST optional_buildtools AND NOT ${depspec} IN_LIST required_buildtools)
+ if (NOT ${depspec} IN_LIST optional_buildtools)
# If dependency is found and is not in the list (eg mariadb/mysql) add to list
if (NOT ${depspec} IN_LIST optional_deps)
set(optional_deps ${optional_deps} ${depspec} PARENT_SCOPE)