Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
coal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Coal
coal
Commits
eaa94d6d
Unverified
Commit
eaa94d6d
authored
8 months ago
by
Louis Montaut
Committed by
GitHub
8 months ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #4 from nim65s/coal-more-compat
Coal more compat
parents
69da2d64
3e7eaacd
No related branches found
No related tags found
No related merge requests found
Pipeline
#42979
failed
8 months ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hpp-fclConfig.cmake
+12
-1
12 additions, 1 deletion
hpp-fclConfig.cmake
include/hpp/fcl/coal.hpp
+7
-3
7 additions, 3 deletions
include/hpp/fcl/coal.hpp
with
19 additions
and
4 deletions
hpp-fclConfig.cmake
+
12
−
1
View file @
eaa94d6d
...
...
@@ -3,4 +3,15 @@
message
(
WARNING
"Please update your CMake from 'hpp-fcl' to 'coal'"
)
find_package
(
coal REQUIRED
)
add_library
(
hpp-fcl::hpp-fcl ALIAS coal::coal
)
if
(
CMAKE_VERSION VERSION_LESS
"3.18.0"
)
if
(
NOT TARGET hpp-fcl::hpp-fcl
)
add_library
(
hpp-fcl::hpp-fcl SHARED IMPORTED
)
target_link_libraries
(
hpp-fcl::hpp-fcl INTERFACE coal::coal
)
get_property
(
_cfg TARGET coal::coal PROPERTY IMPORTED_CONFIGURATIONS
)
get_property
(
_loc TARGET coal::coal PROPERTY
"IMPORTED_LOCATION_
${
_cfg
}
"
)
set_property
(
TARGET hpp-fcl::hpp-fcl PROPERTY IMPORTED_LOCATION
"
${
_loc
}
"
)
endif
()
else
()
add_library
(
hpp-fcl::hpp-fcl ALIAS coal::coal
)
endif
()
This diff is collapsed.
Click to expand it.
include/hpp/fcl/coal.hpp
+
7
−
3
View file @
eaa94d6d
#ifndef HPP_FCL_COAL_H
H
#define HPP_FCL_COAL_H
H
#ifndef HPP_FCL_COAL_H
PP
#define HPP_FCL_COAL_H
PP
#include
<coal/config.hh>
#include
<coal/deprecated.hh>
#define COAL_BACKWARD_COMPATIBILITY_WITH_HPP_FCL
#ifdef _MSC_VER
#pragma message COAL_DEPRECATED_HEADER( \
"Please update your includes from 'hpp/fcl' to 'coal'")
#else
#warning "Please update your includes from 'hpp/fcl' to 'coal'"
#endif
#define HPP_FCL_VERSION_AT_LEAST(major, minor, patch) \
COAL_VERSION_AT_LEAST(major, minor, patch)
#endif // COAL_FWD_H
H
#endif // COAL_FWD_H
PP
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