fix cmake version for tests

This commit is contained in:
Leon Gross
2021-10-06 14:40:52 +02:00
parent 4fc44f32df
commit 8be2ffdcd7
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
add_executable(test1Formatted test1.c parse_flags.c parse_flags.h)
target_compile_definitions(test1Formatted PRIVATE TEST_FORMATTED=1)
target_link_libraries(test1Formatted PRIVATE ${PROJECT_NAME})