mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-23 09:26:27 -06:00
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:
parent
c0659c8e2b
commit
9dc66c0b7d
@ -53,7 +53,7 @@ TARGET_COMPILE_DEFINITIONS(gncmod-gnome-search PRIVATE -DG_LOG_DOMAIN=\"gnc.gui.
|
||||
TARGET_INCLUDE_DIRECTORIES(gncmod-gnome-search PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-gnome-search PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-gnome-search PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-gnome-search
|
||||
|
@ -233,7 +233,7 @@ TARGET_INCLUDE_DIRECTORIES(gncmod-gnome-utils
|
||||
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-gnome-utils PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-gnome-utils PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-gnome-utils
|
||||
|
@ -54,7 +54,7 @@ PUBLIC
|
||||
)
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-html PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-html PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-html
|
||||
|
@ -65,7 +65,7 @@ TARGET_INCLUDE_DIRECTORIES(gncmod-generic-import PUBLIC ${CMAKE_CURRENT_SOURCE_D
|
||||
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-generic-import PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-generic-import PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-generic-import
|
||||
|
@ -70,7 +70,7 @@ IF(WITH_AQBANKING)
|
||||
${KTOBLZCHECK_INCLUDE_DIRS})
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-aqbanking PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-aqbanking PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-aqbanking
|
||||
|
@ -40,7 +40,7 @@ TARGET_INCLUDE_DIRECTORIES(gncmod-bi-import
|
||||
TARGET_COMPILE_DEFINITIONS(gncmod-bi-import PRIVATE -DG_LOG_DOMAIN=\"gnc.plugin.bi-import\")
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-bi-import PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-bi-import PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-bi-import
|
||||
|
@ -26,7 +26,7 @@ TARGET_LINK_LIBRARIES(gncmod-csv-export gncmod-register-gnome gncmod-register-co
|
||||
TARGET_COMPILE_DEFINITIONS(gncmod-csv-export PRIVATE -DG_LOG_DOMAIN=\"gnc.export.csv\")
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-csv-export PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-csv-export PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-csv-export
|
||||
|
@ -73,7 +73,7 @@ TARGET_INCLUDE_DIRECTORIES(gncmod-csv-import PRIVATE
|
||||
)
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-csv-import PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-csv-import PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-csv-import
|
||||
|
@ -31,7 +31,7 @@ TARGET_INCLUDE_DIRECTORIES(gncmod-customer-import
|
||||
TARGET_COMPILE_DEFINITIONS(gncmod-customer-import PRIVATE -DG_LOG_DOMAIN=\"gnc.plugin.customer-import\")
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-customer-import PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-customer-import PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-customer-import
|
||||
|
@ -21,7 +21,7 @@ TARGET_LINK_LIBRARIES(gncmod-log-replay gncmod-gnome-utils gncmod-app-utils gncm
|
||||
TARGET_COMPILE_DEFINITIONS(gncmod-log-replay PRIVATE -DG_LOG_DOMAIN=\"gnc.import.log-replay\")
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-log-replay PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-log-replay PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-log-replay
|
||||
|
@ -30,7 +30,7 @@ IF (WITH_OFX)
|
||||
TARGET_INCLUDE_DIRECTORIES(gncmod-ofx PRIVATE ${LIBOFX_INCLUDE_DIRS})
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-ofx PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-ofx PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-ofx
|
||||
|
@ -26,7 +26,7 @@ TARGET_LINK_LIBRARIES(gncmod-qif-import gncmod-app-utils gncmod-gnome-utils gnc-
|
||||
TARGET_COMPILE_DEFINITIONS(gncmod-qif-import PRIVATE -DG_LOG_DOMAIN=\"gnc.import.qif.import\")
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-qif-import PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-qif-import PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-qif-import
|
||||
|
@ -30,7 +30,7 @@ TARGET_LINK_LIBRARIES(gncmod-qif gncmod-generic-import gncmod-engine ${GLIB2_LDF
|
||||
TARGET_COMPILE_DEFINITIONS(gncmod-qif PRIVATE -DG_LOG_DOMAIN=\"gnc.import.qif\")
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-qif PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-qif PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-qif
|
||||
|
@ -54,7 +54,7 @@ TARGET_INCLUDE_DIRECTORIES(gncmod-ledger-core
|
||||
)
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-ledger-core PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-ledger-core PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-ledger-core
|
||||
|
@ -52,7 +52,7 @@ TARGET_COMPILE_DEFINITIONS (gncmod-register-core PRIVATE -DG_LOG_DOMAIN=\"gnc.re
|
||||
TARGET_INCLUDE_DIRECTORIES(gncmod-register-core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-register-core PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-register-core PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-register-core
|
||||
|
@ -54,7 +54,7 @@ TARGET_INCLUDE_DIRECTORIES(gncmod-register-gnome
|
||||
)
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-register-gnome PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-register-gnome PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-register-gnome
|
||||
|
@ -13,7 +13,7 @@ TARGET_COMPILE_DEFINITIONS(gncmod-locale-reports-us PRIVATE -DG_LOG_DOMAIN=\"gnc
|
||||
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-locale-reports-us PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-locale-reports-us PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-locale-reports-us
|
||||
|
@ -37,7 +37,7 @@ TARGET_COMPILE_DEFINITIONS (gncmod-report-gnome PRIVATE -DG_LOG_DOMAIN=\"gnc.rep
|
||||
TARGET_INCLUDE_DIRECTORIES(gncmod-report-gnome PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-report-gnome PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-report-gnome PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-report-gnome
|
||||
|
@ -33,7 +33,7 @@ TARGET_INCLUDE_DIRECTORIES (gncmod-report-system
|
||||
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-report-system PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-report-system PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-report-system
|
||||
|
@ -23,7 +23,7 @@ ENDIF(WIN32)
|
||||
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-stylesheets PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-stylesheets PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-stylesheets
|
||||
|
@ -100,7 +100,7 @@ TARGET_INCLUDE_DIRECTORIES (gncmod-app-utils
|
||||
TARGET_COMPILE_DEFINITIONS (gncmod-app-utils PRIVATE -DG_LOG_DOMAIN=\"gnc.app-utils\")
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-app-utils PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-app-utils PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-app-utils
|
||||
@ -121,7 +121,7 @@ IF (WITH_PYTHON)
|
||||
TARGET_COMPILE_DEFINITIONS (gncmod-app-utils-python PRIVATE -DG_LOG_DOMAIN=\"gnc.app-utils\")
|
||||
|
||||
IF (APPLE)
|
||||
SET_TARGET_PROPERTIES (gncmod-app-utils-python PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}/gnucash")
|
||||
SET_TARGET_PROPERTIES (gncmod-app-utils-python PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/gnucash")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS gncmod-app-utils-python
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user