Skip to content
Snippets Groups Projects
Commit a2a8144b authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Add guard for WALBERLA_BUILD_WITH_OPENVDB to CMakeLists.tmpl.txt

parent b1426a76
Branches
Tags
No related merge requests found
...@@ -6,5 +6,7 @@ waLBerla_add_executable ( NAME {{ cmake_target_name }} ...@@ -6,5 +6,7 @@ waLBerla_add_executable ( NAME {{ cmake_target_name }}
DEPENDS {{depends | join(' ')}}) DEPENDS {{depends | join(' ')}})
{% if 'walberla_openvdb' in depends -%} {% if 'walberla_openvdb' in depends -%}
if (WALBERLA_BUILD_WITH_OPENVDB)
target_link_libraries( {{ cmake_target_name }} tbb boundary openvdb Half IexMath Iex IlmThread Imath) target_link_libraries( {{ cmake_target_name }} tbb boundary openvdb Half IexMath Iex IlmThread Imath)
endif(WALBERLA_BUILD_WITH_OPENVDB)
{%- endif %} {%- endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment