2
1

0003-Update-OpenCVCompilerOptions.cmake.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. From 126de0cd95418811e302996161e03195bf7e631a Mon Sep 17 00:00:00 2001
  2. From: neok-m4700 <neok-m4700@users.noreply.github.com>
  3. Date: Tue, 25 Jul 2017 10:25:20 +0200
  4. Subject: [PATCH] Update OpenCVCompilerOptions.cmake
  5. misplaced else
  6. [Upstream commit: https://github.com/opencv/opencv/commit/126de0cd95418811e302996161e03195bf7e631a]
  7. Signed-off-by: Samuel Martin <s.martin49@gmail.com>
  8. ---
  9. cmake/OpenCVCompilerOptions.cmake | 4 ++--
  10. 1 file changed, 2 insertions(+), 2 deletions(-)
  11. diff --git a/cmake/OpenCVCompilerOptions.cmake b/cmake/OpenCVCompilerOptions.cmake
  12. index 9b2a4e42e..7b079c5f9 100644
  13. --- a/cmake/OpenCVCompilerOptions.cmake
  14. +++ b/cmake/OpenCVCompilerOptions.cmake
  15. @@ -18,9 +18,9 @@ if(ENABLE_CCACHE AND NOT CMAKE_COMPILER_IS_CCACHE)
  16. message(STATUS "Unable to compile program with enabled ccache, reverting...")
  17. set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${__OLD_RULE_LAUNCH_COMPILE}")
  18. endif()
  19. - else()
  20. - message(STATUS "Looking for ccache - not found")
  21. endif()
  22. + else()
  23. + message(STATUS "Looking for ccache - not found")
  24. endif()
  25. endif()
  26. --
  27. 2.15.0