From f40d09cb8f712e87691af4912f3630d92d692779 Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Dec 2025 15:14:26 +0500 Subject: Shuffle stuff around - Use the new and improved hierarchy I figured out when making Prospero chat - Re-add NSIS scripts, again from Prospero - Update most build and utility scripts with their most recent versions --- external/glfw/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 external/glfw/CMakeLists.txt (limited to 'external/glfw/CMakeLists.txt') diff --git a/external/glfw/CMakeLists.txt b/external/glfw/CMakeLists.txt new file mode 100644 index 0000000..d982998 --- /dev/null +++ b/external/glfw/CMakeLists.txt @@ -0,0 +1,12 @@ +find_package(glfw3 3.4 QUIET) + +if(NOT glfw3_FOUND) + include(FetchContent) + set(GLFW_INSTALL OFF CACHE BOOL "" FORCE) + set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE) + set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE) + set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) + FetchContent_Declare(glfw GIT_REPOSITORY https://github.com/glfw/glfw.git GIT_TAG 3.4) + FetchContent_MakeAvailable(glfw) + #add_library(glfw3 ALIAS glfw) +endif() -- cgit