build: have "make test" depend on "make all"
This commit is contained in:
1 parent
39219fe145
commit
2957ca9611
1 file changed
+6
@@ -571,6 +571,12 @@ endif()
|
|||||||
if(BUILD_TESTS)
|
if(BUILD_TESTS)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
endif()
|
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
|
# TODO: The `CMAKE_SKIP_BUILD_RPATH` variable setting can be deleted
|
||||||
# in the future after reordering Guix script commands to
|
# in the future after reordering Guix script commands to
|
||||||
# perform binary checks after the installation step.
|
# perform binary checks after the installation step.
|
||||||
|
|||||||
Reference in new issue
Block a user