Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pythia8 Module
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
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
3pia
PXL
Modules
Pythia8 Module
Commits
9bd66b31
Commit
9bd66b31
authored
9 years ago
by
Martin Urban
Browse files
Options
Downloads
Patches
Plain Diff
Fixed typo and remove unneeded Message
parent
dc5d7415
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-3
1 addition, 3 deletions
CMakeLists.txt
FindPythia8.cmake
+0
-38
0 additions, 38 deletions
FindPythia8.cmake
with
1 addition
and
41 deletions
CMakeLists.txt
+
1
−
3
View file @
9bd66b31
...
...
@@ -12,9 +12,7 @@ SET(PXLMODULENAME Pythia8Module)
#check for pxl
FIND_PACKAGE
(
PXL REQUIRED astro core hep modules
)
FIND_PACKAGE
(
PkgConfig
)
pkg_check_modules
(
PYTHIA8 REQUIRED pythia8
)
MESSAGE
(
STATUS
"PYTHIA8_LIBRARIES "
${
PYTHIA8_LIBRARIES
}
)
pkg_check_modules
(
PYTHIA8 REQUIRED Pythia8
)
#add additional external libraries as needed
include_directories
(
...
...
This diff is collapsed.
Click to expand it.
FindPythia8.cmake
deleted
100644 → 0
+
0
−
38
View file @
dc5d7415
# - Try to find Pythia8
# Once done, this will define
#
# Pythia8_FOUND - system has Pythia8
# Pythia8_INCLUDE_DIRS - the Pythia8 include directories
# Pythia8_LIBRARIES - link these to use Pythia8
# Note that this only configures the Pythia8-core system to add a Pythia8
# plugin, use the Pythia8_ADD_PLUGIN(name), where name is e.g. Pythia8-astro
# Use pkg-config to get hints about paths
FIND_PACKAGE
(
PkgConfig
)
if
(
PKG_CONFIG_FOUND
)
pkg_check_modules
(
Pythia8_PKGCONF Pythia8
)
SET
(
Pythia8_PLUGIN_INSTALL_PATH $ENV{HOME}/
${
Pythia8_PLUGIN_INSTALL_PATH
}
)
endif
(
PKG_CONFIG_FOUND
)
#In order to get Pythia8 to work, the environment variable PYTHIA8DATA has to point to "<Pythia8_ROOT>/xmldoc".
#Use this information to optain the root directory of a working Pythia8 installation.
get_filename_component
(
Pythia8_ROOT $ENV{PYTHIA8DATA} PATH
)
# Include dir
find_path
(
Pythia8_INCLUDE_DIRS
NAMES Pythia.h
HINTS
${
Pythia8_PKGCONF_INCLUDE_DIRS
}
${
Pythia8_ROOT
}
/usr/local/include /Users/jan/Software/pythia8165/include/
PATH_SUFFIXES include includes lib libs
)
# library
find_library
(
Pythia8_LIBRARIES
NAMES pythia8
HINTS
${
Pythia8_PKGCONF_LIBRARY_DIRS
}
${
Pythia8_ROOT
}
/usr/local/lib /Users/jan/Software/pythia8165/lib/
PATH_SUFFIXES include includes lib libs
)
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