chore: remove unity and fetch instead
This commit was merged in pull request #14.
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
add_subdirectory(unity)
|
||||
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)
|
||||
target_link_libraries(test_vector PRIVATE curtle unity)
|
||||
|
||||
add_test(NAME vector_test COMMAND test_vector)
|
||||
Reference in New Issue
Block a user