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 committed Feb 22, 2024
1 parent 821bf3a commit 2045979
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(${CMAKE_CURRENT_SOURCE_DIR}/GladConfig.cmake)

0 comments on commit 2045979

Please sign in to comment.