From adc3d7a1d704e099581ca25bc5bbdf728c2db67b Mon Sep 17 00:00:00 2001 From: sean <43609023+spnda@users.noreply.github.com> Date: Fri, 23 Feb 2024 15:55:44 +0100 Subject: [PATCH] cmake: Use include instead of find_package for CMake config (#457) Co-authored-by: Oleg Ageev --- cmake/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 3b80747c..690282b5 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(${GLAD_CMAKE_DIR}/GladConfig.cmake)