cmake_minimum_required(VERSION 3.10) include(FetchContent) set(UNITY_VERSION v2.6.1) FetchContent_Declare(unity GIT_REPOSITORY https://github.com/ThrowTheSwitch/Unity.git GIT_TAG ${UNITY_VERSION} ) FetchContent_MakeAvailable(unity) add_executable(test_vector test_vector.c) target_link_libraries(test_vector PRIVATE curtle unity) add_test(NAME vector_test COMMAND test_vector)