diff --git a/README.md b/README.md index d278f05d..44862901 100644 --- a/README.md +++ b/README.md @@ -227,6 +227,7 @@ See the [GLFW documentation](http://www.glfw.org/docs/latest/). - [Cocoa] Bugfix: The cursor remained visible if moved onto client area after having been set to hidden outside it - [Cocoa] Bugfix: The refresh rate was zero for all modes of certain monitors + - [Cocoa] Bugfix: The `install_name` field of the dynamic library was not set - [X11] Added setting of the `WM_CLASS` property to the initial window title diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 149be0ca..8c78ad20 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -72,7 +72,8 @@ if (BUILD_SHARED_LIBS) set(glfw_CFLAGS "") endif() set_target_properties(glfw PROPERTIES - COMPILE_FLAGS "${glfw_CFLAGS} -fno-common") + COMPILE_FLAGS "${glfw_CFLAGS} -fno-common" + INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}") endif() target_link_libraries(glfw ${glfw_LIBRARIES})