diff --git a/CMakeLists.txt b/CMakeLists.txt index 1bd5bbf45..e71172917 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,7 +57,7 @@ if (NOT DEFINED VTKm_INSTALL_CMAKE_MODULE_DIR) set(VTKm_INSTALL_CMAKE_MODULE_DIR "share/vtkm-${VTKm_VERSION_MAJOR}.${VTKm_VERSION_MINOR}/cmake") endif() -set(VTKm_BINARY_INCLUDE_DIR "${VTKm_BINARY_DIR}/include/vtkm-${VTKm_VERSION_MAJOR}.${VTKm_VERSION_MINOR}") +set(VTKm_BINARY_INCLUDE_DIR "${VTKm_BINARY_DIR}/include") set(VTKm_EXPORT_NAME "VTKmTargets") @@ -78,8 +78,8 @@ add_library(vtkm INTERFACE) target_compile_features(vtkm INTERFACE cxx_auto_type) target_include_directories(vtkm INTERFACE $ - $ - $ + $ + $ ) install(TARGETS vtkm EXPORT ${VTKm_EXPORT_NAME})