Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-meshdist
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
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
extensions
dune-meshdist
Commits
cde7e4e5
Commit
cde7e4e5
authored
3 months ago
by
Simon Praetorius
Browse files
Options
Downloads
Patches
Plain Diff
Fix the cmake configuration of the external packages
parent
976b5ec6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#75556
failed
3 months ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
libs/CMakeLists.txt
+4
-1
4 additions, 1 deletion
libs/CMakeLists.txt
with
5 additions
and
2 deletions
CMakeLists.txt
+
1
−
1
View file @
cde7e4e5
...
...
@@ -34,7 +34,7 @@ add_subdirectory(libs)
# define an exported dune library
dune_add_library
(
dunemeshdist INTERFACE
EXPORT_NAME MeshDist NAMESPACE Dune::
)
target_compile_features
(
dunemeshdist INTERFACE
CXX
_std_20
)
target_compile_features
(
dunemeshdist INTERFACE
cxx
_std_20
)
# link external packages
if
(
ENABLE_NANOFLANN
)
...
...
This diff is collapsed.
Click to expand it.
libs/CMakeLists.txt
+
4
−
1
View file @
cde7e4e5
...
...
@@ -7,7 +7,10 @@ if(ENABLE_NANOFLANN)
GIT_REPOSITORY https://github.com/jlblancoc/nanoflann.git
# the repository
GIT_TAG v1.6.2
# the tag
)
FetchContent_MakeAvailable
(
nanoflann
)
FetchContent_GetProperties
(
nanoflann
)
if
(
NOT nanoflann_POPULATED
)
FetchContent_Populate
(
nanoflann
)
endif
()
file
(
GLOB NANOFLANN_HEADERS CONFIGURE_DEPENDS
"
${
nanoflann_SOURCE_DIR
}
/include/*.hpp"
)
...
...
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