Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
eigenpy
Commits
2ab0ac75
Verified
Commit
2ab0ac75
authored
Oct 29, 2019
by
Justin Carpentier
Browse files
cmake: improve integration with CMake >= 3.0.0
parent
1e0dd13f
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
2ab0ac75
...
...
@@ -19,7 +19,12 @@ SET(CXX_DISABLE_WERROR True)
SET
(
CMAKE_VERBOSE_MAKEFILE True
)
INCLUDE
(
cmake/base.cmake
)
PROJECT
(
${
PROJECT_NAME
}
CXX
)
IF
(
CMAKE_VERSION VERSION_GREATER
"3.0.0"
)
CMAKE_POLICY
(
SET CMP0048 NEW
)
PROJECT
(
${
PROJECT_NAME
}
VERSION
${
PROJECT_VERSION_FULL
}
LANGUAGES CXX DESCRIPTION
${
PROJECT_DESCRIPTION
}
)
ELSE
(
CMAKE_VERSION VERSION_GREATER
"3.0.0"
)
PROJECT
(
${
PROJECT_NAME
}
CXX
)
ENDIF
(
CMAKE_VERSION VERSION_GREATER
"3.0.0"
)
INCLUDE
(
cmake/boost.cmake
)
INCLUDE
(
cmake/python.cmake
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment