Skip to content

Commit f87a358

Browse files
committed
cmake: Do not set CTEST_TEST_TARGET_ALIAS
An alias for the "test" target can be confusing for the downstream project. So remove it.
1 parent 35c0fdc commit f87a358

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

CMakeLists.txt

-4
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,6 @@ if(SECP256K1_BUILD_CTIME_TESTS)
273273
unset(msan_enabled)
274274
endif()
275275

276-
# Ask CTest to create a "check" target (e.g., make check) as alias for the "test" target.
277-
# CTEST_TEST_TARGET_ALIAS is not documented but supposed to be user-facing.
278-
# See: https://gitlab.kitware.com/cmake/cmake/-/commit/816c9d1aa1f2b42d40c81a991b68c96eb12b6d2
279-
set(CTEST_TEST_TARGET_ALIAS check)
280276
include(CTest)
281277
# We do not use CTest's BUILD_TESTING because a single toggle for all tests is too coarse for our needs.
282278
mark_as_advanced(BUILD_TESTING)

0 commit comments

Comments
 (0)