Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-xt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ag-ohlberger
dune-community
dune-xt
Commits
abc633a5
Commit
abc633a5
authored
6 years ago
by
Dr. Felix Tobias Schindler
Browse files
Options
Downloads
Patches
Plain Diff
[cmake] drop old xt references
parent
822b08b7
No related branches found
No related tags found
2 merge requests
!10
Fix compilation with new clang
,
!6
Merge pybind
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
with
2 additions
and
2 deletions
CMakeLists.txt
+
2
−
2
View file @
abc633a5
...
...
@@ -27,7 +27,7 @@ include(DuneMacros)
dune_project
()
if
(
NOT
(
CMAKE_VERSION VERSION_LESS 3.0
))
# CMake >= 3.0
dune_enable_all_packages
(
INCLUDE_DIRS
${
dune-
xt-
pybindxi_SOURCE_DIR
}
/dune
dune_enable_all_packages
(
INCLUDE_DIRS
${
dune-pybindxi_SOURCE_DIR
}
/dune
MODULE_LIBRARIES dunepybindxi dunepybindxiinterface dunepybindximodule dunepybindxiembed
)
# Build an interface library target:
add_library
(
pybind11::pybind11 ALIAS dunepybindxiinterface
)
# to match exported target
...
...
@@ -51,7 +51,7 @@ if(NOT (CMAKE_VERSION VERSION_LESS 3.0)) # CMake >= 3.0
add_library
(
pybind11::embed ALIAS dunepybindxiembed
)
target_link_libraries
(
dunepybindxi dunepybindxiembed
)
else
()
dune_enable_all_packages
(
INCLUDE_DIRS
${
dune-
xt-
pybindxi_SOURCE_DIR
}
/dune
)
dune_enable_all_packages
(
INCLUDE_DIRS
${
dune-pybindxi_SOURCE_DIR
}
/dune
)
endif
()
add_subdirectory
(
dune
)
...
...
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