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
6020fff0
Commit
6020fff0
authored
4 months ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
find eigen 3.3
parent
2c3d47b9
No related branches found
No related tags found
No related merge requests found
Pipeline
#20563
passed
4 months ago
Stage: license
Stage: build_and_test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+8
-3
8 additions, 3 deletions
CMakeLists.txt
with
8 additions
and
3 deletions
CMakeLists.txt
+
8
−
3
View file @
6020fff0
...
@@ -48,6 +48,13 @@ if(BUILD_TESTS)
...
@@ -48,6 +48,13 @@ if(BUILD_TESTS)
set
(
_GNSS_UTILS_ROOT_DIR
${
CMAKE_SOURCE_DIR
}
)
set
(
_GNSS_UTILS_ROOT_DIR
${
CMAKE_SOURCE_DIR
}
)
endif
()
endif
()
# ============ DEPENDENCIES ============
FIND_PACKAGE
(
Eigen3 3.3 REQUIRED CONFIG
)
if
(
${
EIGEN3_VERSION_STRING
}
VERSION_LESS 3.3
)
message
(
FATAL_ERROR
"GnssUtils requires Eigen >= 3.3. Found Eigen
${
EIGEN3_VERSION_STRING
}
"
)
endif
()
# ============ config.h ============
# Define the directory where will be the configured config.h
# Define the directory where will be the configured config.h
SET
(
GNSS_UTILS_CONFIG_DIR
${
PROJECT_BINARY_DIR
}
/conf/
${
PROJECT_NAME
}
/internal
)
SET
(
GNSS_UTILS_CONFIG_DIR
${
PROJECT_BINARY_DIR
}
/conf/
${
PROJECT_NAME
}
/internal
)
...
@@ -111,8 +118,6 @@ SET(RTKLIB_SRC
...
@@ -111,8 +118,6 @@ SET(RTKLIB_SRC
${
RTKLIB_SRC_DIR
}
/rcv/ublox.c
)
${
RTKLIB_SRC_DIR
}
/rcv/ublox.c
)
FIND_PACKAGE
(
Eigen3 3.3 REQUIRED CONFIG
)
# Adding include directories
# Adding include directories
INCLUDE_DIRECTORIES
(
BEFORE include
${
RTKLIB_SRC_DIR
}
)
INCLUDE_DIRECTORIES
(
BEFORE include
${
RTKLIB_SRC_DIR
}
)
...
@@ -120,7 +125,7 @@ INCLUDE_DIRECTORIES(BEFORE include ${RTKLIB_SRC_DIR})
...
@@ -120,7 +125,7 @@ INCLUDE_DIRECTORIES(BEFORE include ${RTKLIB_SRC_DIR})
ADD_LIBRARY
(
${
PROJECT_NAME
}
SHARED
${
SOURCES
}
${
RTKLIB_SRC
}
)
ADD_LIBRARY
(
${
PROJECT_NAME
}
SHARED
${
SOURCES
}
${
RTKLIB_SRC
}
)
# Link this library wrt. its dependencies
# Link this library wrt. its dependencies
TARGET_LINK_LIBRARIES
(
${
PROJECT_NAME
}
Eigen3::Eigen
)
TARGET_LINK_LIBRARIES
(
${
PROJECT_NAME
}
PUBLIC
Eigen3::Eigen
)
# Examples
# Examples
ADD_SUBDIRECTORY
(
src/examples
)
ADD_SUBDIRECTORY
(
src/examples
)
...
...
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