Skip to content

Commit

Permalink
Merge topic 'pass_down_vtkm_flags'
Browse files Browse the repository at this point in the history
28e6a2c Propagate down VTK lib install dir and other important information to VTK

Acked-by: Kitware Robot <[email protected]>
Merge-request: !3751
  • Loading branch information
Robert Maynard authored and kwrobot committed Jan 2, 2018
2 parents 340727f + 28e6a2c commit 61216dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ThirdParty/vtkm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ if (WIN32)
# don't need to set path on Windows
set(VTKm_EXECUTABLE_OUTPUT_PATH "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}" CACHE PATH "Set to match VTK" FORCE)
endif()

set(VTKm_INSTALL_LIB_DIR "${VTK_INSTALL_LIBRARY_DIR}")
set(VTKm_INSTALL_INCLUDE_DIR "${VTK_INSTALL_INCLUDE_DIR}")
set(VTKm_INSTALL_CMAKE_MODULE_DIR "${VTK_INSTALL_PACKAGE_DIR}/vtkm")
set(VTKm_INSTALL_CONFIG_DIR "${VTK_INSTALL_PACKAGE_DIR}/vtkm")
set(VTKm_CUSTOM_LIBRARY_SUFFIX "${lib_suffix}")
set(VTKm_NO_ASSERT "ON") #helps improve performance in debug mode

set(vtkm_LIBRARIES vtkm vtkm_cont)

Expand Down

0 comments on commit 61216dc

Please sign in to comment.