Missing ui_pqExportStateWizard.h causes build failure (issue #15655)
- With a development install, the ui_pqExportStateWizard.h file is unconditionally installed. However for a non-python build (or others), the file does not exist.
Note: For additional safety/flexibility, could also use a GLOB() command to generate the file list. Eg,
if(PARAVIEW_INSTALL_DEVELOPMENT_FILES AND PARAVIEW_ENABLE_PYTHON) FILE( GLOB ui_pqHeaders "${CMAKE_CURRENT_BINARY_DIR}/ui_pqExportState*.h" ) INSTALL(FILES ${ui_pqHeaders} DESTINATION "${VTK_INSTALL_INCLUDE_DIR}") endif()