Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
catalyst
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
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
Community
catalyst
Commits
2ac2c5ec
Commit
2ac2c5ec
authored
6 years ago
by
Mark OLESEN
Browse files
Options
Downloads
Patches
Plain Diff
CONFIG: cmake targets are globally unique
parent
d97babec
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/catalyst/CMakeLists-Catalyst.txt
+1
-0
1 addition, 0 deletions
src/catalyst/CMakeLists-Catalyst.txt
src/catalyst/CMakeLists.txt
+3
-9
3 additions, 9 deletions
src/catalyst/CMakeLists.txt
with
4 additions
and
9 deletions
src/catalyst/CMakeLists-Catalyst.txt
+
1
−
0
View file @
2ac2c5ec
#------------------------------------------------------------------------------
project(catalyst)
include(${PARAVIEW_USE_FILE})
...
...
This diff is collapsed.
Click to expand it.
src/catalyst/CMakeLists.txt
+
3
−
9
View file @
2ac2c5ec
#------------------------------------------------------------------------------
cmake_minimum_required
(
VERSION 2.8
)
cmake_policy
(
SET CMP0002 NEW
)
# Policy CMP0002 required for for cmake >= 3
# Fail i
mmediately if not using an
out-of-source
build
# Fail i
f not building
out-of-source
if
(
CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR
)
message
(
FATAL_ERROR
"In-source builds are not supported. Please create a build directory "
"separate from the source directory"
)
"In-source builds disallowed. Use a separate build directory"
)
endif
()
project
(
catalyst
)
# Set policy for CMP0002 needed for cmake > 3
cmake_policy
(
SET CMP0002 OLD
)
include
(
CMakeLists-OpenFOAM.txt
)
#------------------------------------------------------------------------------
...
...
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