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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user