瀏覽代碼

BUG: BuildSystem: Remove duplicated else in ctkMacroSetupQt.cmake

Fixes #715

Suggested-by: Samuel John <github@samueljohn.de>
Samuel John 8 年之前
父節點
當前提交
6e099a7352
共有 1 個文件被更改,包括 0 次插入3 次删除
  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)