summaryrefslogtreecommitdiffstats
path: root/package/opencv/0003-Update-OpenCVCompilerOptions.cmake.patch
blob: 9a81d9308a54a194f320617fd20210ba476a6b31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 126de0cd95418811e302996161e03195bf7e631a Mon Sep 17 00:00:00 2001
From: neok-m4700 <neok-m4700@users.noreply.github.com>
Date: Tue, 25 Jul 2017 10:25:20 +0200
Subject: [PATCH] Update OpenCVCompilerOptions.cmake

misplaced else

[Upstream commit: https://github.com/opencv/opencv/commit/126de0cd95418811e302996161e03195bf7e631a]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
 cmake/OpenCVCompilerOptions.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/OpenCVCompilerOptions.cmake b/cmake/OpenCVCompilerOptions.cmake
index 9b2a4e42e..7b079c5f9 100644
--- a/cmake/OpenCVCompilerOptions.cmake
+++ b/cmake/OpenCVCompilerOptions.cmake
@@ -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()
 
-- 
2.15.0

OpenPOWER on IntegriCloud