Commit 3649ec71 authored by T.J. Corona's avatar T.J. Corona Committed by Kitware Robot

Merge topic 'install-svg-generated-headers'

67247345 Install generated svg headers
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel's avatarBen Boeckel <ben.boeckel@kitware.com>
Merge-request: !2262
parents 34a53d78 67247345
......@@ -79,9 +79,6 @@ if (SMTK_ENABLE_PYTHON_WRAPPING)
add_subdirectory(pybind11)
endif()
#install the headers
smtk_public_headers(smtkCore ${viewHeaders})
set(iconFiles
icons/attribute.svg
icons/attributeResource.svg
......@@ -106,8 +103,12 @@ foreach (iconFile ${iconFiles})
get_filename_component(genFileBase "${iconFile}" NAME_WE)
set(genFile "${CMAKE_CURRENT_BINARY_DIR}/icons/${genFileBase}_svg.h")
configureFileAsCVariable("${CMAKE_CURRENT_SOURCE_DIR}/${iconFile}" "${genFile}" "${genFileBase}_svg" "")
list(APPEND viewHeaders ${genFile})
endforeach()
#install the headers
smtk_public_headers(smtkCore ${viewHeaders})
if (SMTK_ENABLE_PARAVIEW_SUPPORT)
set_property(GLOBAL APPEND
PROPERTY _smtk_plugin_files "${CMAKE_CURRENT_SOURCE_DIR}/plugin/paraview.plugin")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment