File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ ENDIF()
4646ADD_CUSTOM_COMMAND (
4747 OUTPUT ${CMAKE_CURRENT_BINARY_DIR} /lex_token.h
4848 COMMAND gen_lex_token > lex_token.h
49+ DEPENDS gen_lex_token
4950)
5051
5152ADD_DEFINITIONS (-DMYSQL_SERVER -DHAVE_EVENT_SCHEDULER)
@@ -294,6 +295,7 @@ ENDIF()
294295ADD_CUSTOM_COMMAND (
295296 OUTPUT ${CMAKE_CURRENT_BINARY_DIR} /lex_hash.h
296297 COMMAND gen_lex_hash > lex_hash.h
298+ DEPENDS gen_lex_hash
297299)
298300
299301MYSQL_ADD_EXECUTABLE(mysql_tzinfo_to_sql tztime.cc COMPONENT Server)
@@ -418,7 +420,7 @@ IF(WIN32)
418420 ${CMAKE_CURRENT_BINARY_DIR} /my_bootstrap.sql
419421 mysql_bootstrap_sql.c
420422 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
421- DEPENDS ${my_bootstrap_sql}
423+ DEPENDS comp_sql ${my_bootstrap_sql}
422424 )
423425
424426 MYSQL_ADD_EXECUTABLE(mysql_install_db
You can’t perform that action at this time.
0 commit comments