From 9ef9b1361a319f3cf6c34372b4c1c3d2066a20b0 Mon Sep 17 00:00:00 2001 From: Konstantin Podsvirov Date: Thu, 15 Apr 2021 18:54:45 +0300 Subject: [PATCH] Fix hardcoded runtime destination in CMake install Closes #1883. Closes #1884. (cherry picked from commit e3f916808ddc9b1064d7d585a2d5bbac9fa53038) --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0d0f52f3..f29f9402 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -179,7 +179,7 @@ endif() if (GLFW_INSTALL) install(TARGETS glfw EXPORT glfwTargets - RUNTIME DESTINATION "bin" + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}") endif()