Fix GLFW3 pkg-config detection

This commit is contained in:
Clownacy 2020-04-02 00:37:30 +01:00
parent 1839370ae9
commit 9a0d2c4c94

View file

@ -417,7 +417,7 @@ if(BACKEND_PLATFORM MATCHES "GLFW3")
endif()
endif()
if(TARGET PkgConfig::glfw)
if(TARGET PkgConfig::glfw3)
# pkg-config
if (PKG_CONFIG_STATIC_LIBS)
message(STATUS "Using system GLFW3 (pkg-config, static)")