From 0f6775c9bfaa4aef67ac51173f4cbbed406181c3 Mon Sep 17 00:00:00 2001 From: Anton Anikin Date: Sun, 18 Dec 2022 20:16:43 +0800 Subject: [PATCH] add public (interface) include directory --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ef890d..bd7ebc0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,10 @@ add_library(keycode STATIC src/keycode.c ) +target_include_directories(keycode + PUBLIC src +) + add_executable(keycode_test src/test.c )