Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
opencv-qt5
opencv-gcc5.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opencv-gcc5.patch of Package opencv-qt5
Index: opencv-2.4.11/cmake/OpenCVDetectCXXCompiler.cmake =================================================================== --- opencv-2.4.11.orig/cmake/OpenCVDetectCXXCompiler.cmake +++ opencv-2.4.11/cmake/OpenCVDetectCXXCompiler.cmake @@ -68,6 +68,10 @@ elseif(CMAKE_COMPILER_IS_GNUCXX) OUTPUT_VARIABLE CMAKE_OPENCV_GCC_VERSION_FULL OUTPUT_STRIP_TRAILING_WHITESPACE) + if (CMAKE_OPENCV_GCC_VERSION_FULL MATCHES "5") + set(CMAKE_OPENCV_GCC_VERSION_FULL "5.0") + endif() + execute_process(COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1} -v ERROR_VARIABLE CMAKE_OPENCV_GCC_INFO_FULL OUTPUT_STRIP_TRAILING_WHITESPACE)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor