Ver código fonte

BUG: BuildSystem: Remove duplicated else in ctkMacroSetupQt.cmake

Fixes #715

Suggested-by: Samuel John <github@samueljohn.de>
Samuel John 8 anos atrás
pai
commit
6e099a7352
1 arquivos alterados com 0 adições e 3 exclusões
  1. 0 3
      CMake/ctkMacroSetupQt.cmake

+ 0 - 3
CMake/ctkMacroSetupQt.cmake

@@ -72,9 +72,6 @@ macro(ctkMacroSetupQt)
     else()
     else()
       message(FATAL_ERROR "error: Qt4 was not found on your system. You probably need to set the QT_QMAKE_EXECUTABLE variable")
       message(FATAL_ERROR "error: Qt4 was not found on your system. You probably need to set the QT_QMAKE_EXECUTABLE variable")
     endif()
     endif()
-
-  else()
-    message(FATAL_ERROR "error: Qt4 was not found on your system. You probably need to set the QT_QMAKE_EXECUTABLE variable")
   endif()
   endif()
 
 
   mark_as_superbuild(CTK_QT_VERSION)
   mark_as_superbuild(CTK_QT_VERSION)