 --- 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>

         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

     install(FILES "${GLFW_BINARY_DIR}/src/glfw3.pc"
-            DESTINATION "lib${LIB_SUFFIX}/pkgconfig")
+            DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
 
     # Only generate this target if no higher-level project already has
     if (NOT TARGET uninstall)
@@ -416,4 +417,3 @@ if (GLFW_INSTALL)
