cmake : properly invoke CTest (#629)

This commit is contained in:
Stephan Walter 2023-03-30 17:56:59 +00:00 committed by GitHub
parent a4755cf288
commit 3bcc129ba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,7 +253,7 @@ endif()
# #
if (LLAMA_BUILD_TESTS AND NOT CMAKE_JS_VERSION) if (LLAMA_BUILD_TESTS AND NOT CMAKE_JS_VERSION)
enable_testing() include(CTest)
add_subdirectory(tests) add_subdirectory(tests)
endif () endif ()