Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gnss
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
plugins
gnss
Commits
8a0e1656
Commit
8a0e1656
authored
6 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
Made YamlCpp mandatory.
parent
bc345d8b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+9
-7
9 additions, 7 deletions
CMakeLists.txt
with
9 additions
and
7 deletions
CMakeLists.txt
+
9
−
7
View file @
8a0e1656
...
...
@@ -97,18 +97,19 @@ FIND_PACKAGE(Threads REQUIRED)
FIND_PACKAGE
(
wolf REQUIRED
)
FIND_PACKAGE
(
Ceres QUIET
)
#Ceres is not required
IF
(
Ceres_FOUND
)
MESSAGE
(
"Ceres Library FOUND: Ceres related sources will be built."
)
ENDIF
(
Ceres_FOUND
)
INCLUDE
(
${
PROJECT_SOURCE_DIR
}
/cmake_modules/FindYamlCpp.cmake
)
FIND_PACKAGE
(
YamlCpp REQUIRED
)
IF
(
YAMLCPP_FOUND
)
MESSAGE
(
"yaml-cpp Library FOUND: yaml-cpp related sources will be built."
)
ELSEIF
(
YAMLCPP_FOUND
)
MESSAGE
(
"yaml-cpp Library NOT FOUND!"
)
ENDIF
(
YAMLCPP_FOUND
)
FIND_PACKAGE
(
Ceres QUIET
)
#Ceres is not required
IF
(
Ceres_FOUND
)
MESSAGE
(
"Ceres Library FOUND: Ceres related sources will be built."
)
ENDIF
(
Ceres_FOUND
)
FIND_PATH
(
Suitesparse_INCLUDE_DIRS
NAMES SuiteSparse_config.h
...
...
@@ -144,8 +145,9 @@ include_directories("${PROJECT_BINARY_DIR}/conf")
# ============EXAMPLE==================
INCLUDE_DIRECTORIES
(
${
EIGEN_INCLUDE_DIRS
}
)
INCLUDE_DIRECTORIES
(
${
wolf_INCLUDE_DIRS
}
)
include_directories
(
BEFORE
"include"
)
INCLUDE_DIRECTORIES
(
BEFORE
"include"
)
INCLUDE_DIRECTORIES
(
${
laser_scan_utils_INCLUDE_DIRS
}
)
INCLUDE_DIRECTORIES
(
${
YAMLCPP_INCLUDE_DIR
}
)
IF
(
Ceres_FOUND
)
INCLUDE_DIRECTORIES
(
${
CERES_INCLUDE_DIRS
}
)
ENDIF
(
Ceres_FOUND
)
...
...
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