IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
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
Air Shower Physics
corsika
Merge requests
!323
Resolve "Cmake on centos 7.5"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Cmake on centos 7.5"
376-cmake-on-centos-7-5
into
master
Overview
0
Commits
1
Pipelines
3
Changes
3
Merged
Lukas Nellen
requested to merge
376-cmake-on-centos-7-5
into
master
4 years ago
Overview
0
Commits
1
Pipelines
3
Changes
3
Expand
Closes
#376 (closed)
Edited
4 years ago
by
Lukas Nellen
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
492c9456
1 commit,
4 years ago
3 files
+
17
−
2
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
cmake/CorsikaDefines.cmake
+
7
−
2
Options
@@ -14,10 +14,15 @@ endif ()
@@ -14,10 +14,15 @@ endif ()
#
#
if
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Windows"
)
if
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Windows"
)
set
(
CORSIKA_OS_WINDOWS TRUE
)
set
(
CORSIKA_OS_WINDOWS TRUE
)
set
(
CORSIKA_OS
"Windows"
)
set
(
CORSIKA_OS
"Windows"
)
elseif
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Linux"
)
elseif
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Linux"
)
set
(
CORSIKA_OS_LINUX TRUE
)
set
(
CORSIKA_OS_LINUX TRUE
)
set
(
CORSIKA_OS
"Linux"
)
set
(
CORSIKA_OS
"Linux"
)
# check for RedHat/CentOS compiler from the software collections (scl)
string
(
FIND
${
CMAKE_CXX_COMPILER
}
"/opt/rh/devtoolset-"
index
)
if
(
${
index
}
EQUAL 0
)
set
(
CORSIKA_SCL_CXX TRUE
)
endif
()
elseif
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Darwin"
)
elseif
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Darwin"
)
set
(
CORSIKA_OS_MAC TRUE
)
set
(
CORSIKA_OS_MAC TRUE
)
set
(
CORSIKA_OS
"Mac"
)
set
(
CORSIKA_OS
"Mac"
)
Loading