mirror of https://gitee.com/bigwinds/arangodb
make sure error files get built when arangod is built (#10284)
This commit is contained in:
parent
2cd73309a2
commit
15d3b346f4
|
@ -961,7 +961,7 @@ endif ()
|
|||
if (USE_JEMALLOC)
|
||||
add_dependencies(arangod jemalloc)
|
||||
endif ()
|
||||
|
||||
|
||||
foreach(TARGET
|
||||
arango_agency
|
||||
arango_aql
|
||||
|
|
|
@ -230,6 +230,14 @@ target_link_libraries(arango
|
|||
${SYSTEM_LIBRARIES}
|
||||
)
|
||||
|
||||
# Rebuild generated error files so they are up-to-date when all
|
||||
# dependent stuff is built
|
||||
if (USE_MAINTAINER_MODE)
|
||||
add_dependencies(arango errorfiles)
|
||||
add_dependencies(arango exitcodefiles)
|
||||
endif ()
|
||||
|
||||
|
||||
# Enterprise
|
||||
if (USE_ENTERPRISE)
|
||||
target_compile_definitions(arango PUBLIC "-DUSE_ENTERPRISE=1")
|
||||
|
|
Loading…
Reference in New Issue