From 55792fdbec9100fb4cb6f7a145b26fa502ea1528 Mon Sep 17 00:00:00 2001 From: Vitalii Rohozhyn <32648869+Qualadia@users.noreply.github.com> Date: Mon, 31 Mar 2025 23:48:50 +0200 Subject: [PATCH] [Cmake] basic CMake support for easier import into CMake projects (#345) --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ecb29d7..bdfe492 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,3 +38,6 @@ if(NOT MSVC AND (CLAY_INCLUDE_ALL_EXAMPLES OR CLAY_INCLUDE_SDL3_EXAMPLES)) endif() # add_subdirectory("examples/cairo-pdf-rendering") Some issue with github actions populating cairo, disable for now + +add_library(${PROJECT_NAME} INTERFACE) +target_include_directories(${PROJECT_NAME} INTERFACE .)