10000 make sure error files get built when arangod is built (#10284) · arangodb/arangodb@15d3b34 · GitHub
[go: up one dir, main page]

Skip to content

Commit 15d3b34

Browse files
authored
make sure error files get built when arangod is built (#10284)
1 parent 2cd7330 commit 15d3b34

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

arangod/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ endif ()
961961
if (USE_JEMALLOC)
962962
add_dependencies(arangod jemalloc)
963963
endif ()
964-
964+
965965
foreach(TARGET
966966
arango_agency
967967
arango_aql

lib/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,14 @@ target_link_libraries(arango
230230
${SYSTEM_LIBRARIES}
231231
)
232232

233+
# Rebuild generated error files so they are up-to-date when all
234+
# dependent stuff is built
235+
if (USE_MAINTAINER_MODE)
236+
add_dependencies(arango errorfiles)
237+
add_dependencies(arango exitcodefiles)
238+
endif ()
239+
240+
233241
# Enterprise
234242
if (USE_ENTERPRISE)
235243
target_compile_definitions(arango PUBLIC "-DUSE_ENTERPRISE=1")

0 commit comments

Comments
 (0)
0