Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
1d33f510
Commit
1d33f510
authored
Dec 02, 2013
by
PIACIBELLO Cyrille
Browse files
Should work with CMake version <= 2.8.11
parent
73db0b9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
1d33f510
cmake_minimum_required
(
VERSION 2.8.3 FATAL_ERROR
)
cmake_policy
(
SET CMP0022 OLD
)
if
(
CMAKE_MAJOR_VERSION GREATER 1 AND CMAKE_MINOR_VERSION GREATER 7 AND CMAKE_PATCH_VERSION GREATER 11
)
cmake_policy
(
SET CMP0022 OLD
)
endif
()
cmake_policy
(
SET CMP0004 OLD
)
# check if compiling into source directories
STRING
(
COMPARE EQUAL
"
${
CMAKE_SOURCE_DIR
}
"
"
${
CMAKE_BINARY_DIR
}
"
insource
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment