diff --git a/projects/scripts/paraviewwebglance.install.cmake b/projects/scripts/paraviewwebglance.install.cmake index 0ea7d5a05aec4eaf9b77a3a96497ccf7d566a269..637eea5db1497969bc1b6e3a9112a4d604d9cd04 100644 --- a/projects/scripts/paraviewwebglance.install.cmake +++ b/projects/scripts/paraviewwebglance.install.cmake @@ -1,6 +1,11 @@ -file(INSTALL - ${source_location}/dist/ - DESTINATION "${install_location}/share/paraview/web/glance/www") -file(INSTALL - ${source_location}/dist/ParaViewGlance.html - DESTINATION "${install_location}/share/paraview/web/glance/ParaViewGlance.html") +file( + INSTALL ${source_location}/dist/ + DESTINATION "${install_location}/share/paraview/web/glance/www/" + PATTERN "glance-external-*" EXCLUDE + PATTERN "itk" EXCLUDE + PATTERN "ParaViewGlance.html" EXCLUDE +) +file( + INSTALL ${source_location}/dist/ParaViewGlance.html + DESTINATION "${install_location}/share/paraview/web/glance" +)