From dd1fafed1b14371e83591bdaf8593aec6fee5577 Mon Sep 17 00:00:00 2001 From: Jarand Jensen Romestrand Date: Tue, 3 Oct 2023 19:51:59 +0200 Subject: [PATCH] Testing CI --- oving5/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oving5/CMakeLists.txt b/oving5/CMakeLists.txt index a07b7e4..af2ffa0 100644 --- a/oving5/CMakeLists.txt +++ b/oving5/CMakeLists.txt @@ -4,10 +4,10 @@ project(c C) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -Wall -Wextra") add_library(format_string STATIC format_string.c) -target_include_directories(format_string INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) +target_include_directories(format_string PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) add_executable(c main.c) -target_link_libraries(c PRIVATE format_string) # Use PRIVATE here +target_link_libraries(c PRIVATE format_string) enable_testing() add_subdirectory(tests)