Fix the Mac install_name_dir to point at CMAKE_INSTALL_FULL_LIBDIR.

Instead of CMAKE_INSTALL_LIBDIR; it needs to be an absolute path.
This commit is contained in:
John Ralls
2017-12-10 13:01:32 -08:00
parent c0659c8e2b
commit 9dc66c0b7d
22 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ TARGET_INCLUDE_DIRECTORIES(gncmod-tax-us
PRIVATE ${CMAKE_BINARY_DIR}/common ${GUILE_INCLUDE_DIRS})
IF (APPLE)
SET_TARGET_PROPERTIES (gncmod-tax-us PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
SET_TARGET_PROPERTIES (gncmod-tax-us PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
ENDIF()
INSTALL(TARGETS gncmod-tax-us