Tenative setting of install_name.

master
Camilla Berglund ago%!(EXTRA string=12 years)
parent e85455719d
commit 16e63adc40
  1. 1
      README.md
  2. 3
      src/CMakeLists.txt

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

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

Loading…
Cancel
Save