From b2910437a5ec3875449e9ce0d9f8dc4ef5286d54 Mon Sep 17 00:00:00 2001 From: Leo Sulzbacher Date: Sun, 15 Mar 2026 00:45:37 +0100 Subject: [PATCH] fix: expose all required headers --- CMakeLists.txt | 7 +++++-- src/vector.c | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7de7efb..9f9e9e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ add_library(curtle STATIC src/vector.c) target_include_directories(curtle PUBLIC - $ + $ $ ) @@ -28,7 +28,10 @@ install(TARGETS curtle INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ) -install(FILES include/curtle/curtle.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) +install( + DIRECTORY include/ + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} +) install(EXPORT curtleTargets FILE curtleTargets.cmake diff --git a/src/vector.c b/src/vector.c index dd8b221..7c2bf58 100644 --- a/src/vector.c +++ b/src/vector.c @@ -1,4 +1,4 @@ -#include "curtle/vector.h" +#include "curtle.h" #include struct vec2 vec2_add(const struct vec2 a, const struct vec2 b)