Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
04655018
Commit
04655018
authored
11 months ago
by
AlQuemist
Browse files
Options
Downloads
Patches
Plain Diff
GUI/CMakeLists.txt: Fix RPATH of libBornAgainGUI
parent
9516a4fd
No related branches found
No related tags found
1 merge request
!2508
Fix RPATHs of libBornAgain GUI
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GUI/CMakeLists.txt
+6
-1
6 additions, 1 deletion
GUI/CMakeLists.txt
with
6 additions
and
1 deletion
GUI/CMakeLists.txt
+
6
−
1
View file @
04655018
...
...
@@ -31,8 +31,13 @@ set(BornAgain_LIBRARIES "$CACHE{BornAgain_LIBRARIES};${lib_dir}/${libprefix}${li
# switch OFF Qt debug output in any configuration except DEBUG
target_compile_definitions
(
${
lib
}
PUBLIC $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG_OUTPUT>
)
# -----------------------------------------------------------------------------
# runtime library paths
# -----------------------------------------------------------------------------
# See our deployment paper (Nejati et al 2024) for explanation.
if
(
LINUX
)
set
(
link_flags
"-Wl,-rpath,
\$
ORIGIN"
)
set
(
link_flags
"-Wl,-
-disable-new-dtags,-
rpath,
\$
ORIGIN"
)
set_target_properties
(
${
lib
}
PROPERTIES LINK_FLAGS
${
link_flags
}
)
endif
(
LINUX
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment