summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt
index 17779adcff8..47716274966 100644
--- a/sql/CMakeLists.txt
+++ b/sql/CMakeLists.txt
@@ -351,6 +351,7 @@ ADD_CUSTOM_TARGET(
GenServerSource
DEPENDS ${GEN_SOURCES}
)
+ADD_DEPENDENCIES(sql GenServerSource)
#Need this only for embedded
SET_TARGET_PROPERTIES(GenServerSource PROPERTIES EXCLUDE_FROM_ALL TRUE)