mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Cocoa: Fix install name for installed dylib
The install name was incorrectly set to a relative path. This change leaves the install name of the installed dylib as @rpath/soname. Those who wish to override this can set the CMAKE_INSTALL_NAME_DIR variable. Closes #1504.
This commit is contained in:
parent
f8d6801a50
commit
384ff74a46
@ -203,9 +203,6 @@ if (BUILD_SHARED_LIBS)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_compile_definitions(glfw INTERFACE GLFW_DLL)
|
target_compile_definitions(glfw INTERFACE GLFW_DLL)
|
||||||
elseif (APPLE)
|
|
||||||
set_target_properties(glfw PROPERTIES
|
|
||||||
INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (MINGW)
|
if (MINGW)
|
||||||
|
Loading…
Reference in New Issue
Block a user