CMakeLists.txt: check-integration: depend on main target (#2081)

This makes `make check-integration DO_COVERAGE=1` on a clean build work.
This commit is contained in:
Daniel Hahler 2017-10-24 20:59:51 +02:00 committed by GitHub
parent eb5cab5cfe
commit 579159a8cc
1 changed files with 1 additions and 0 deletions

View File

@ -391,6 +391,7 @@ add_custom_target(check-integration
${CMAKE_COMMAND} -E env CMAKE_BINARY_DIR='${CMAKE_BINARY_DIR}' ./tests/run.sh \$\${TEST_RUN_ARGS:--W} ${CMAKE_COMMAND} -E env CMAKE_BINARY_DIR='${CMAKE_BINARY_DIR}' ./tests/run.sh \$\${TEST_RUN_ARGS:--W}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
COMMENT "Running integration tests" COMMENT "Running integration tests"
DEPENDS ${PROJECT_AWE_NAME}
USES_TERMINAL) USES_TERMINAL)
add_dependencies(check-integration test-gravity) add_dependencies(check-integration test-gravity)
add_custom_target(check-themes add_custom_target(check-themes