1
0
Fork 0

make sure error files get built when arangod is built (#10284)

This commit is contained in:
Jan 2019-10-21 17:25:39 +02:00 committed by GitHub
parent 2cd73309a2
commit 15d3b346f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -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")