Removed overloading of INSTALL_NAME_DIR with ${CMAKE_INSTALL_LIBDIR} on Mac.

This commit is contained in:
Aleksej Lebedev 2019-07-24 17:21:44 +02:00
parent b430bc4935
commit bf7d9a5ab7

View File

@ -137,9 +137,6 @@ if (BUILD_SHARED_LIBS)
elseif (APPLE)
# Add -fno-common to work around a bug in Apple's GCC
target_compile_options(glfw PRIVATE "-fno-common")
set_target_properties(glfw PROPERTIES
INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}")
endif()
if (UNIX)