only include the lodepng header when installing

This commit is contained in:
nadavi 2020-04-22 15:00:19 -06:00
parent c9cbd9693d
commit b380e702d2

@ -39,8 +39,8 @@ target_include_directories(vtkm_lodepng INTERFACE
)
if(NOT VTKm_INSTALL_ONLY_LIBRARIES)
install(DIRECTORY vtkmlodepng
DESTINATION "${VTKm_INSTALL_INCLUDE_DIR}/vtkm/thirdparty/lodepng/"
install(FILES ${headers}
DESTINATION "${VTKm_INSTALL_INCLUDE_DIR}/vtkm/thirdparty/lodepng/vtkmlodepng/"
)
endif()