Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
6a74422d
Commit
6a74422d
authored
6 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
Not so quick fix to ship FindYamlCpp.cmake with wolf
parent
fa93e093
No related branches found
No related tags found
No related merge requests found
Pipeline
#3673
passed
6 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+4
-0
4 additions, 0 deletions
CMakeLists.txt
cmake_modules/wolfConfig.cmake
+8
-0
8 additions, 0 deletions
cmake_modules/wolfConfig.cmake
with
12 additions
and
0 deletions
CMakeLists.txt
+
4
−
0
View file @
6a74422d
...
...
@@ -523,10 +523,14 @@ INSTALL(FILES ${PROJECT_NAME}.found
configure_file
(
"
${
CMAKE_SOURCE_DIR
}
/cmake_modules/wolfConfig.cmake"
"
${
CMAKE_BINARY_DIR
}
/wolfConfig.cmake"
@ONLY
)
configure_file
(
"
${
CMAKE_SOURCE_DIR
}
/cmake_modules/FindYamlCpp.cmake"
"
${
CMAKE_BINARY_DIR
}
/FindYamlCpp.cmake"
@ONLY
)
INSTALL
(
FILES
"
${
WOLF_CONFIG_DIR
}
/config.h"
DESTINATION include/iri-algorithms/wolf/plugin_core/core/internal
)
INSTALL
(
FILES
"
${
CMAKE_BINARY_DIR
}
/wolfConfig.cmake"
DESTINATION
"lib/cmake/
${
PROJECT_NAME
}
"
)
INSTALL
(
FILES
"
${
CMAKE_BINARY_DIR
}
/FindYamlCpp.cmake"
DESTINATION
"lib/cmake/
${
PROJECT_NAME
}
"
)
INSTALL
(
DIRECTORY
${
SPDLOG_INCLUDE_DIRS
}
DESTINATION
"include/iri-algorithms/"
)
...
...
This diff is collapsed.
Click to expand it.
cmake_modules/wolfConfig.cmake
+
8
−
0
View file @
6a74422d
...
...
@@ -69,6 +69,12 @@ set(wolf_FOUND TRUE)
# FIND_PACKAGE(Eigen3 3.2.92 REQUIRED)
# list(APPEND wolf_INCLUDE_DIRS ${EIGEN_INCLUDE_DIRS})
get_filename_component
(
WOLF_CURRENT_CONFIG_DIR
"
${
CMAKE_CURRENT_LIST_FILE
}
"
PATH
)
SET
(
BACKUP_MODULE_PATH
${
CMAKE_MODULE_PATH
}
)
LIST
(
APPEND CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
${
WOLF_CURRENT_CONFIG_DIR
}
)
FIND_PACKAGE
(
Threads REQUIRED
)
list
(
APPEND wolf_LIBRARIES
${
CMAKE_THREAD_LIBS_INIT
}
)
...
...
@@ -80,3 +86,5 @@ list(APPEND wolf_LIBRARIES ${CERES_LIBRARIES})
FIND_PACKAGE
(
YamlCpp REQUIRED
)
list
(
APPEND wolf_INCLUDE_DIRS
${
YAMLCPP_INCLUDE_DIRS
}
)
list
(
APPEND wolf_LIBRARIES
${
YAMLCPP_LIBRARY
}
)
SET
(
CMAKE_MODULE_PATH
${
BACKUP_MODULE_PATH
}
)
\ No newline at end of file
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