Skip to content
Snippets Groups Projects
Commit abc633a5 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[cmake] drop old xt references

parent 822b08b7
No related branches found
No related tags found
2 merge requests!10Fix compilation with new clang,!6Merge pybind
...@@ -27,7 +27,7 @@ include(DuneMacros) ...@@ -27,7 +27,7 @@ include(DuneMacros)
dune_project() dune_project()
if(NOT (CMAKE_VERSION VERSION_LESS 3.0)) # CMake >= 3.0 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) MODULE_LIBRARIES dunepybindxi dunepybindxiinterface dunepybindximodule dunepybindxiembed)
# Build an interface library target: # Build an interface library target:
add_library(pybind11::pybind11 ALIAS dunepybindxiinterface) # to match exported 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 ...@@ -51,7 +51,7 @@ if(NOT (CMAKE_VERSION VERSION_LESS 3.0)) # CMake >= 3.0
add_library(pybind11::embed ALIAS dunepybindxiembed) add_library(pybind11::embed ALIAS dunepybindxiembed)
target_link_libraries(dunepybindxi dunepybindxiembed) target_link_libraries(dunepybindxi dunepybindxiembed)
else() 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() endif()
add_subdirectory(dune) add_subdirectory(dune)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment