Skip to content

Commit

Permalink
CMake: do not trigger install during make test
Browse files Browse the repository at this point in the history
  • Loading branch information
tamiko committed Dec 19, 2022
1 parent e539c13 commit 96c2515
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,14 @@ if(DEFINED DEAL_II_HAVE_TESTS_DIRECTORY)
COMMENT "Running quicktests..."
)

# Depend on the library target to ensure that deal.II is actually
# compiled, as well as on the setup_tests_quick_tests target to ensure
# Depend on the library targets (to ensure that deal.II is actually
# compiled), as well as on the setup_tests_quick_tests target to ensure
# that quick tests are actually available.
add_dependencies(test library)
add_dependencies(test setup_tests_quick_tests)
foreach(_build ${DEAL_II_BUILD_TYPES})
string(TOLOWER ${_build} _build_lowercase)
add_dependencies(test ${DEAL_II_NAMESPACE}_${_build_lowercase})
endforeach()

#
# Add a dummy target to make files known to IDEs like qtcreator
Expand Down

0 comments on commit 96c2515

Please sign in to comment.