Skip to content
Snippets Groups Projects
Commit 5ee22fae authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

link cuda only if build with cuda

parent a485d19f
No related branches found
No related tags found
No related merge requests found
add_library( python_coupling ) add_library( python_coupling )
target_link_libraries( python_coupling PUBLIC pybind11::embed core communication domain_decomposition stencil field blockforest vtk cuda ) target_link_libraries( python_coupling PUBLIC pybind11::embed core communication domain_decomposition stencil field blockforest vtk )
if( WALBERLA_BUILD_WITH_CUDA )
target_link_libraries( python_coupling PUBLIC cuda )
endif()
set_target_properties( python_coupling PROPERTIES CXX_VISIBILITY_PRESET hidden ) set_target_properties( python_coupling PROPERTIES CXX_VISIBILITY_PRESET hidden )
target_sources( python_coupling target_sources( python_coupling
PRIVATE PRIVATE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment