Merge pull request #9408 from alalek:backport_9228

(2.4) Update OpenCVCompilerOptions.cmake (backport 9228)
pull/9435/head
Alexander Alekhin 8 years ago committed by GitHub
commit f7d99f3f6a
  1. 2
      cmake/OpenCVCompilerOptions.cmake

@ -18,10 +18,10 @@ if(ENABLE_CCACHE AND NOT CMAKE_COMPILER_IS_CCACHE)
message(STATUS "Unable to compile program with enabled ccache, reverting...") message(STATUS "Unable to compile program with enabled ccache, reverting...")
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${__OLD_RULE_LAUNCH_COMPILE}") set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${__OLD_RULE_LAUNCH_COMPILE}")
endif() endif()
endif()
else() else()
message(STATUS "Looking for ccache - not found") message(STATUS "Looking for ccache - not found")
endif() endif()
endif()
endif() endif()
if((CMAKE_COMPILER_IS_CLANGCXX OR CMAKE_COMPILER_IS_CLANGCC OR CMAKE_COMPILER_IS_CCACHE) AND NOT CMAKE_GENERATOR MATCHES "Xcode") if((CMAKE_COMPILER_IS_CLANGCXX OR CMAKE_COMPILER_IS_CLANGCC OR CMAKE_COMPILER_IS_CCACHE) AND NOT CMAKE_GENERATOR MATCHES "Xcode")

Loading…
Cancel
Save