Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cms-analysis
General
DasAnalysisSystem
Core
Commits
883d7a07
Commit
883d7a07
authored
1 month ago
by
Patrick Louis S Connor
Browse files
Options
Downloads
Patches
Plain Diff
linking with rpath
parent
15076ded
No related branches found
No related tags found
1 merge request
!219
linking with rpath
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+10
-0
10 additions, 0 deletions
CMakeLists.txt
Unfolding/CMakeLists.txt
+1
-0
1 addition, 0 deletions
Unfolding/CMakeLists.txt
with
11 additions
and
0 deletions
CMakeLists.txt
+
10
−
0
View file @
883d7a07
# SPDX-License-Identifier: GPLv3-or-later
# SPDX-License-Identifier: GPLv3-or-later
#
#
# SPDX-FileCopyrightText: Louis Moureaux <louis.moureaux@cern.ch>
# SPDX-FileCopyrightText: Louis Moureaux <louis.moureaux@cern.ch>
# SPDX-FileCopyrightText: Patrick L.S. Connor <patrick.connor@cern.ch>
cmake_minimum_required
(
VERSION 3.20..3.26 FATAL_ERROR
)
cmake_minimum_required
(
VERSION 3.20..3.26 FATAL_ERROR
)
...
@@ -34,6 +35,15 @@ include(CoreHelpers)
...
@@ -34,6 +35,15 @@ include(CoreHelpers)
set
(
CMAKE_CXX_STANDARD 20
)
set
(
CMAKE_CXX_STANDARD 20
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
# Set RPATH
set
(
CMAKE_MACOSX_RPATH 1
)
file
(
RELATIVE_PATH relative_rpath
"
${
CMAKE_INSTALL_FULL_BINDIR
}
"
"
${
CMAKE_INSTALL_FULL_LIBDIR
}
"
)
if
(
APPLE
)
list
(
APPEND CMAKE_INSTALL_RPATH
"@executable_path"
"@executable_path/
${
relative_rpath
}
"
)
else
()
list
(
APPEND CMAKE_INSTALL_RPATH
"
\$
{ORIGIN}"
"
\$
{ORIGIN}/
${
relative_rpath
}
"
)
endif
()
include_directories
(
"
${
CMAKE_SOURCE_DIR
}
/.."
)
# TODO
include_directories
(
"
${
CMAKE_SOURCE_DIR
}
/.."
)
# TODO
add_compile_definitions
(
"DARWIN_GIT_REPO=
\"
${
CMAKE_SOURCE_DIR
}
\"
"
)
add_compile_definitions
(
"DARWIN_GIT_REPO=
\"
${
CMAKE_SOURCE_DIR
}
\"
"
)
...
...
This diff is collapsed.
Click to expand it.
Unfolding/CMakeLists.txt
+
1
−
0
View file @
883d7a07
...
@@ -18,6 +18,7 @@ core_add_library(
...
@@ -18,6 +18,7 @@ core_add_library(
Eigen3::Eigen
Eigen3::Eigen
ROOT::TreePlayer
ROOT::TreePlayer
TUnfold::TUnfold
TUnfold::TUnfold
Objects
TESTS
TESTS
unfold
unfold
)
)
...
...
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