From 384ff74a4645347bbc5726fc572138b38f87ae8b Mon Sep 17 00:00:00 2001 From: Laurent Aphecetche Date: Fri, 14 Jun 2019 16:42:50 +0200 Subject: [PATCH] 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. --- src/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4a0f5340..2e6a1fa2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -203,9 +203,6 @@ if (BUILD_SHARED_LIBS) endif() target_compile_definitions(glfw INTERFACE GLFW_DLL) - elseif (APPLE) - set_target_properties(glfw PROPERTIES - INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}") endif() if (MINGW)