1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-26 13:25:58 +00:00

cmake: rpath take 2, re previous commit [eea16e], use global

property `ZINT_LIBDIR` hack to set in both CLI and GUI, whether
  macOS or not (ticket #346, props Hagen Röwer and Bryce Harrison)
This commit is contained in:
gitlost
2026-01-21 22:41:18 +00:00
parent 0efc4fb021
commit 1ba5ba41fb
5 changed files with 16 additions and 12 deletions

View File

@@ -147,6 +147,9 @@ if(NOT HAVE_GETOPT_LONG_ONLY)
add_subdirectory(getopt)
endif()
# For setting rpath in frontend and frontend_qt
set_property(GLOBAL PROPERTY ZINT_LIBDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
add_subdirectory(backend)
if(ZINT_FRONTEND)
add_subdirectory(frontend)