From 2045979377f0dabad02726afd1ef66e8a2f7fd07 Mon Sep 17 00:00:00 2001 From: sean <43609023+spnda@users.noreply.github.com> Date: Thu, 22 Feb 2024 22:29:38 +0100 Subject: [PATCH] Fix: Use include instead of find_package for CMake config --- cmake/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 3b80747c..7bc36021 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -18,5 +18,4 @@ set( ) mark_as_advanced(GLAD_CMAKE_DIR) -list(APPEND CMAKE_PREFIX_PATH ${GLAD_SOURCES_DIR}) -find_package(Glad REQUIRED) +include(${CMAKE_CURRENT_SOURCE_DIR}/GladConfig.cmake)