From 20f7f0452048ac73c6bf0479cf438dbf98e3d9f7 Mon Sep 17 00:00:00 2001 From: scawful Date: Mon, 26 Aug 2024 12:05:19 -0400 Subject: [PATCH] yaze_build_clib flag for cmake --- src/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1bf4f065..9db57ac7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -119,6 +119,7 @@ endif() include(test/CMakeLists.txt) +if (YAZE_BUILD_CLIB) # Yaze C API add_library( yaze_c SHARED @@ -161,8 +162,10 @@ if (YAZE_INSTALL_CLIB) install( FILES - yaze.h - base/sprite.h - base/snes_color.h + yaze.h + base/sprite.h + base/snes_color.h + base/overworld.h DESTINATION include) +endif() endif() \ No newline at end of file