2019-09-25 01:22:10 +00:00
|
|
|
##============================================================================
|
|
|
|
## Copyright (c) Kitware, Inc.
|
|
|
|
## All rights reserved.
|
|
|
|
## See LICENSE.txt for details.
|
|
|
|
##
|
|
|
|
## This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
## PURPOSE. See the above copyright notice for more information.
|
|
|
|
##============================================================================
|
2019-10-07 19:38:36 +00:00
|
|
|
add_library(vtkm_lcl INTERFACE)
|
2019-09-25 01:22:10 +00:00
|
|
|
|
|
|
|
vtkm_get_kit_name(kit_name kit_dir)
|
|
|
|
|
2019-10-07 19:38:36 +00:00
|
|
|
# lcl needs C++11
|
|
|
|
target_compile_features(vtkm_lcl INTERFACE cxx_std_11)
|
2019-09-25 01:22:10 +00:00
|
|
|
|
2019-10-07 19:38:36 +00:00
|
|
|
target_include_directories(vtkm_lcl INTERFACE
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/vtkmlcl>
|
|
|
|
$<INSTALL_INTERFACE:${VTKm_INSTALL_INCLUDE_DIR}/vtkm/thirdparty/lcl/vtkmlcl>)
|
2019-09-25 01:22:10 +00:00
|
|
|
|
2022-12-09 23:46:56 +00:00
|
|
|
vtkm_install_targets(TARGETS vtkm_lcl)
|
2019-09-25 01:22:10 +00:00
|
|
|
|
|
|
|
## Install headers
|
|
|
|
if(NOT VTKm_INSTALL_ONLY_LIBRARIES)
|
2019-10-07 19:38:36 +00:00
|
|
|
install(DIRECTORY vtkmlcl
|
2019-09-25 01:22:10 +00:00
|
|
|
DESTINATION ${VTKm_INSTALL_INCLUDE_DIR}/${kit_dir}/)
|
|
|
|
endif()
|