Skip to content

Commit

Permalink
cmake: Use include instead of find_package for CMake config (#457)
Browse files Browse the repository at this point in the history
Co-authored-by: Oleg Ageev <[email protected]>
  • Loading branch information
spnda and cNoNim authored Feb 23, 2024
1 parent 821bf3a commit adc3d7a
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(${GLAD_CMAKE_DIR}/GladConfig.cmake)

0 comments on commit adc3d7a

Please sign in to comment.