From eeaa56976343ffd764a2d3446b9126d120a94db4 Mon Sep 17 00:00:00 2001 From: Vitalii Rohozhyn Date: Mon, 24 Mar 2025 21:59:42 +0100 Subject: [PATCH] basic CMake support for easier import into CMake projects --- 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 .)