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

[cmake] do not add python modules to all target

parent e97d4808
No related branches found
No related tags found
2 merge requests!10Fix compilation with new clang,!6Merge pybind
......@@ -12,7 +12,7 @@
# dune_pybindxi_add_module(<name> source1 [source2 ...])
#
function(dune_pybindxi_add_module target_name)
add_library(${target_name} MODULE ${ARGN})
add_library(${target_name} MODULE EXCLUDE_FROM_ALL ${ARGN})
target_include_directories(${target_name}
PRIVATE ${PYBIND11_INCLUDE_DIR}
PRIVATE ${PYTHON_INCLUDE_DIRS})
......
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