Update OpenCVCompilerOptions.cmake
authorneok-m4700 <neok-m4700@users.noreply.github.com>
Tue, 25 Jul 2017 08:25:20 +0000 (10:25 +0200)
committerGitHub <noreply@github.com>
Tue, 25 Jul 2017 08:25:20 +0000 (10:25 +0200)
misplaced else

cmake/OpenCVCompilerOptions.cmake

index b8bc228..2f2e3f7 100644 (file)
@@ -18,9 +18,9 @@ if(ENABLE_CCACHE AND NOT CMAKE_COMPILER_IS_CCACHE)
         message(STATUS "Unable to compile program with enabled ccache, reverting...")
         set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${__OLD_RULE_LAUNCH_COMPILE}")
       endif()
-    else()
-      message(STATUS "Looking for ccache - not found")
     endif()
+  else()
+    message(STATUS "Looking for ccache - not found")
   endif()
 endif()