1
0
Fork 0

move include up so we know the target

This commit is contained in:
Wilfried Goesgens 2017-03-07 13:12:35 +01:00
parent a34ad23d0f
commit de6d64ba21
1 changed files with 8 additions and 5 deletions

View File

@ -930,6 +930,11 @@ add_subdirectory(arangod)
add_subdirectory(Documentation)
option(USE_CATCH_TESTS "Compile catch C++ tests" ON)
if (USE_CATCH_TESTS)
add_subdirectory(tests)
endif()
add_dependencies(arangobench zlibstatic)
add_dependencies(arangod zlibstatic)
add_dependencies(arangodump zlibstatic)
@ -947,7 +952,9 @@ if (NOT USE_PRECOMPILED_V8)
add_dependencies(arangoimp v8_build)
add_dependencies(arangorestore v8_build)
add_dependencies(arangosh v8_build)
add_dependencies(arangodbtests v8_build)
if (USE_CATCH_TESTS)
add_dependencies(arangodbtests v8_build)
endif()
endif ()
# This copies the compile commands to the source dir.
@ -982,7 +989,3 @@ add_custom_target(clean_autogenerated_files
message(STATUS "building for git revision: ${ARANGODB_BUILD_REPOSITORY}")
option(USE_CATCH_TESTS "Compile catch C++ tests" ON)
if (USE_CATCH_TESTS)
add_subdirectory(tests)
endif()