1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Tenative setting of install_name.

This commit is contained in:
Camilla Berglund 2013-10-16 20:56:59 +02:00
parent e85455719d
commit 16e63adc40
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -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})