Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gnss_utils
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
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
labrobotica
algorithms
gnss_utils
Commits
b96f23eb
Commit
b96f23eb
authored
2 years ago
by
Mederic Fourmy
Browse files
Options
Downloads
Patches
Plain Diff
Fix cmake include problem
parent
1cbfbdad
No related branches found
No related tags found
1 merge request
!26
cmake fixes
Pipeline
#11488
failed
2 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+3
-6
3 additions, 6 deletions
CMakeLists.txt
with
3 additions
and
6 deletions
CMakeLists.txt
+
3
−
6
View file @
b96f23eb
...
...
@@ -68,9 +68,6 @@ IF(EXISTS "${GNSS_UTILS_CONFIG_DIR}" AND NOT IS_DIRECTORY "${GNSS_UTILS_CONFIG_D
ENDIF
()
# Configure config.h
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/internal/config.h.in
"
${
GNSS_UTILS_CONFIG_DIR
}
/config.h"
)
message
(
"GNSS_UTILS CONFIG
${
GNSS_UTILS_CONFIG_DIR
}
/config.h"
)
message
(
"CONFIG DIRECTORY
${
PROJECT_BINARY_DIR
}
"
)
include_directories
(
"
${
PROJECT_BINARY_DIR
}
/conf"
)
# rtklib path
SET
(
RTKLIB_SRC_DIR deps/RTKLIB/src
)
...
...
@@ -163,9 +160,9 @@ install(
${
LIB_INSTALL_DIR
}
/
${
PROJECT_NAME
}
/cmake
)
# Specifies
include
directories
to use when compiling the plugin target
# This way, include_directories does not need to be called in plugins depending on this one
target_include_directories
(
${
PROJECT_NAME
}
INTERFACE
target_
include
_
directories
(
${
PLUGIN_NAME
}
PUBLIC
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/include>
$<BUILD_INTERFACE:
${
PROJECT_BINARY_DIR
}
/conf>
$<INSTALL_INTERFACE:
${
INCLUDE_INSTALL_DIR
}
>
)
...
...
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