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
hpp-fcl
Commits
7915d649
Commit
7915d649
authored
Oct 23, 2019
by
Joseph Mirabel
Browse files
[CMake] Update to new CMake policy.
parent
238492be
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
7915d649
...
...
@@ -34,17 +34,17 @@
cmake_minimum_required
(
VERSION 2.8
)
set
(
CXX_DISABLE_WERROR TRUE
)
include
(
cmake/base.cmake
)
include
(
cmake/eigen.cmake
)
include
(
cmake/boost.cmake
)
include
(
cmake/python.cmake
)
include
(
cmake/hpp.cmake
)
set
(
PROJECT_NAME hpp-fcl
)
set
(
PROJECT_DESCRIPTION
"HPP fork of FCL -- The Flexible Collision Library"
)
include
(
cmake/eigen.cmake
)
include
(
cmake/boost.cmake
)
include
(
cmake/python.cmake
)
include
(
cmake/hpp.cmake
)
IF
(
APPLE
)
SET
(
CMAKE_MACOSX_RPATH TRUE
)
SET
(
CMAKE_SKIP_BUILD_RPATH FALSE
)
...
...
@@ -60,7 +60,9 @@ ENDIF(APPLE)
OPTION
(
BUILD_PYTHON_INTERFACE OFF
)
setup_hpp_project
()
# Tell CMake that we compute the PROJECT_VERSION manually.
CMAKE_POLICY
(
SET CMP0048 OLD
)
project
(
${
PROJECT_NAME
}
CXX
)
add_required_dependency
(
"eigen3 >= 3.0.0"
)
include_directories
(
SYSTEM
${
EIGEN3_INCLUDE_DIRS
}
)
...
...
@@ -160,5 +162,3 @@ IF(HPP_FCL_HAVE_OCTOMAP)
PKG_CONFIG_APPEND_CFLAGS
(
"-DHPP_FCL_HAVE_OCTOMAP -DFCL_HAVE_OCTOMAP -DOCTOMAP_MAJOR_VERSION=
${
OCTOMAP_MAJOR_VERSION
}
-DOCTOMAP_MINOR_VERSION=
${
OCTOMAP_MINOR_VERSION
}
-DOCTOMAP_PATCH_VERSION=
${
OCTOMAP_PATCH_VERSION
}
"
)
ENDIF
(
HPP_FCL_HAVE_OCTOMAP
)
setup_hpp_project_finalize
()
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