Skip to content

Commit

Permalink
Fix: Use include instead of find_package for CMake config
Browse files Browse the repository at this point in the history
  • Loading branch information
spnda authored Feb 22, 2024
1 parent 821bf3a commit 88e3d1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ set(
)
mark_as_advanced(GLAD_CMAKE_DIR)

list(APPEND CMAKE_PREFIX_PATH ${GLAD_SOURCES_DIR})
find_package(Glad REQUIRED)
include(GladConfig.cmake)

0 comments on commit 88e3d1c

Please sign in to comment.