mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
Remove INSTALL_NAME_DIR prop on Mac which gets in the way of proper RPATH handling ?
This commit is contained in:
parent
d834f01ca4
commit
e7c014fffe
@ -137,9 +137,6 @@ if (BUILD_SHARED_LIBS)
|
|||||||
elseif (APPLE)
|
elseif (APPLE)
|
||||||
# Add -fno-common to work around a bug in Apple's GCC
|
# Add -fno-common to work around a bug in Apple's GCC
|
||||||
target_compile_options(glfw PRIVATE "-fno-common")
|
target_compile_options(glfw PRIVATE "-fno-common")
|
||||||
|
|
||||||
set_target_properties(glfw PROPERTIES
|
|
||||||
INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}")
|
|
||||||
elseif (UNIX)
|
elseif (UNIX)
|
||||||
# Hide symbols not explicitly tagged for export from the shared library
|
# Hide symbols not explicitly tagged for export from the shared library
|
||||||
target_compile_options(glfw PRIVATE "-fvisibility=hidden")
|
target_compile_options(glfw PRIVATE "-fvisibility=hidden")
|
||||||
|
Loading…
Reference in New Issue
Block a user