From d126e4aab73b78e63675b5ca5fd63ad53d8f8812 Mon Sep 17 00:00:00 2001 From: Pierre Dejoue Date: Sun, 13 Aug 2023 18:30:20 +0200 Subject: [PATCH] CI: Remove glfw and stdutils public headers from Cmake install --- cmake/third_party/glfw.cmake | 1 + src/stdutils/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/third_party/glfw.cmake b/cmake/third_party/glfw.cmake index f441826..e618c87 100644 --- a/cmake/third_party/glfw.cmake +++ b/cmake/third_party/glfw.cmake @@ -14,5 +14,6 @@ FetchContent_Declare( set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE) set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE) set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) +set(GLFW_INSTALL OFF CACHE BOOL "" FORCE) FetchContent_MakeAvailable(glfw) diff --git a/src/stdutils/CMakeLists.txt b/src/stdutils/CMakeLists.txt index 6d7ba9a..7489fdb 100644 --- a/src/stdutils/CMakeLists.txt +++ b/src/stdutils/CMakeLists.txt @@ -32,4 +32,4 @@ endif() set_property(TARGET stdutils PROPERTY FOLDER "libraries") -install(TARGETS stdutils EXPORT picross_project) +install(TARGETS stdutils EXPORT picross_project ARCHIVE)