mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 13:11:36 +00:00
fix(examples): use the installed program directory for built-in devices
- Installed programs are in <prefix>/bin, not <prefix>/bin/fairmq - Installed start scripts did not find the built-in devices Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -162,7 +162,7 @@ function(add_example)
|
||||
# configure run scripts with the install prefix known at install time
|
||||
set(install_vars
|
||||
EX_BIN_DIR "\${CMAKE_INSTALL_PREFIX}/${PROJECT_INSTALL_BINDIR}"
|
||||
FAIRMQ_BIN_DIR "\${CMAKE_INSTALL_PREFIX}/${PROJECT_INSTALL_BINDIR}/fairmq"
|
||||
FAIRMQ_BIN_DIR "\${CMAKE_INSTALL_PREFIX}/${PROJECT_INSTALL_BINDIR}"
|
||||
)
|
||||
if(ARG_CONFIG)
|
||||
list(APPEND install_vars EX_CONF_DIR "\${CMAKE_INSTALL_PREFIX}/${PROJECT_INSTALL_DATADIR}")
|
||||
|
||||
Reference in New Issue
Block a user