diff --git a/CMakeLists.txt b/CMakeLists.txt index a41f7bf3..d617e387 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,6 +60,7 @@ add_library(utils STATIC utils/x11_make_greeting.c utils/x11_parse_ip.c ${GENERATED_COMMIT_C}) +add_dependencies(utils cmake_commit_c) add_library(logging OBJECT logging.c) diff --git a/charset/CMakeLists.txt b/charset/CMakeLists.txt index 22cc7a14..4ff5bb8a 100644 --- a/charset/CMakeLists.txt +++ b/charset/CMakeLists.txt @@ -27,3 +27,4 @@ add_library(charset STATIC toucs.c utf8.c xenc.c) +add_dependencies(charset generated_sbcsdat_c)