Browse Source

BUG: BuildSystem: Remove duplicated else in ctkMacroSetupQt.cmake

Fixes #715

Suggested-by: Samuel John <github@samueljohn.de>
Samuel John 8 years ago
parent
commit
6e099a7352
1 changed files with 0 additions and 3 deletions
  1. 0 3
      CMake/ctkMacroSetupQt.cmake

+ 0 - 3
CMake/ctkMacroSetupQt.cmake

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