 --- a/src/CMakeLists.txt
 +++ b/src/CMakeLists.txt
 @@ -62,8 +62,8 @@ set_target_properties(glfw PROPERTIES
-
+ 
  target_compile_definitions(glfw PRIVATE -D_GLFW_USE_CONFIG_H)
  target_include_directories(glfw PUBLIC
 -                           $<BUILD_INTERFACE:${GLFW_SOURCE_DIR}/include>

@@ -356,7 +357,7 @@ endforeach()
 #--------------------------------------------------------------------
 include(CMakePackageConfigHelpers)

-set(GLFW_CONFIG_PATH "lib${LIB_SUFFIX}/cmake/glfw3")
+set(GLFW_CONFIG_PATH "${CMAKE_INSTALL_LIBDIR}/cmake/glfw3")

 configure_package_config_file(src/glfw3Config.cmake.in
                               src/glfw3Config.cmake
@@ -393,7 +394,7 @@ endif()

         target_compile_options(glfw PRIVATE "-fvisibility=hidden")
@@ -115,6 +115,9 @@ if (MSVC)
 endif()
 
 if (GLFW_INSTALL)
-    install(TARGETS glfw EXPORT glfwTargets DESTINATION lib${LIB_SUFFIX})
+    install(TARGETS glfw
