Skip to content
Snippets Groups Projects
Verified Commit 4dc3e525 authored by Lars Bilke's avatar Lars Bilke
Browse files

[cpm] Limit exprtk include from vtk to BUILD_INTERFACE.

parent 6df6974b
No related branches found
No related tags found
No related merge requests found
......@@ -309,7 +309,9 @@ endif()
if(VTK_ADDED)
# VTK already comes with exprtk, reusing it.
target_include_directories(
exprtk SYSTEM INTERFACE ${VTK_SOURCE_DIR}/ThirdParty/exprtk/vtkexprtk
exprtk SYSTEM
INTERFACE
$<BUILD_INTERFACE:${VTK_SOURCE_DIR}/ThirdParty/exprtk/vtkexprtk>
)
else()
CPMAddPackage(
......
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