Add CONFIG for glfw

This commit is contained in:
Pcornat 2026-01-07 23:36:24 +01:00
commit 4d517cea85
Signed by: Pcornat
GPG key ID: E0326CC678A00BDD

View file

@ -8,7 +8,7 @@ check_ipo_supported(RESULT IS_IPO_SUPPORTED OUTPUT IPO_OUTPUT_VERBOSE)
find_package(OpenGL REQUIRED)
find_package(GLEW REQUIRED)
find_package(glfw3 REQUIRED)
find_package(glfw3 CONFIG REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(Jemalloc REQUIRED IMPORTED_TARGET GLOBAL jemalloc)