Skip to content

Commit

Permalink
build: have "make test" depend on "make all"
Browse files Browse the repository at this point in the history
  • Loading branch information
theuni committed Oct 1, 2024
1 parent 39219fe commit 2957ca9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,12 @@ endif()
if(BUILD_TESTS)
enable_testing()
endif()

if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.29)
# have "make test" depend on "make all"
set(CMAKE_SKIP_TEST_ALL_DEPENDENCY FALSE)
endif()

# TODO: The `CMAKE_SKIP_BUILD_RPATH` variable setting can be deleted
# in the future after reordering Guix script commands to
# perform binary checks after the installation step.
Expand Down

0 comments on commit 2957ca9

Please sign in to comment.