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)