Skip to content
Snippets Groups Projects
Commit 80ac475b authored by Lars Bilke's avatar Lars Bilke
Browse files

Fix CMake error when Qt is not available due to missing targets.

parent 9fac4a7f
No related branches found
No related tags found
No related merge requests found
...@@ -127,10 +127,14 @@ ADD_CATALYST_DEPENDENCY(TIN2VTK) ...@@ -127,10 +127,14 @@ ADD_CATALYST_DEPENDENCY(TIN2VTK)
#################### ####################
### Installation ### ### Installation ###
#################### ####################
INSTALL(TARGETS ConvertSHPToGLI generateBCandGLI generateBCFromPolyline generateBCandGLI INSTALL(TARGETS generateMatPropsFromMatID GMSH2OGS OGS2VTK VTK2OGS VTK2TIN
FEFLOW2OGS generateMatPropsFromMatID GMSH2OGS OGS2VTK VTK2OGS VTK2TIN
RUNTIME DESTINATION bin COMPONENT ogs_converter) RUNTIME DESTINATION bin COMPONENT ogs_converter)
IF(QT4_FOUND)
INSTALL(TARGETS ConvertSHPToGLI generateBCandGLI generateBCFromPolyline generateBCandGLI
FEFLOW2OGS RUNTIME DESTINATION bin COMPONENT ogs_converter)
ENDIF()
cpack_add_component(ogs_converter cpack_add_component(ogs_converter
DISPLAY_NAME "File converter" DISPLAY_NAME "File converter"
DESCRIPTION "File converter." DESCRIPTION "File converter."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment