don't add CMAKE_INSTALL_NAME_DIR to cmake cache, allowing it to be updated by ccmake

release/4.3a0
Varun Agrawal 2019-12-22 10:13:23 -05:00
parent 74e0647bed
commit 2fe2e0b754
1 changed files with 2 additions and 3 deletions

View File

@ -346,9 +346,8 @@ if (MSVC)
endif()
if (APPLE AND BUILD_SHARED_LIBS)
set(CMAKE_INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib"
CACHE PATH
"Default install directory on macOS")
# Set the default install directory on macOS
set(CMAKE_INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
endif()
###############################################################################