Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.3
avogadrolibs
fix-gcc-version-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-gcc-version-check.patch of Package avogadrolibs
diff --git a/cmake/GenerateExportHeader.cmake b/cmake/GenerateExportHeader.cmake index a91da06..cad1300 100644 --- a/cmake/GenerateExportHeader.cmake +++ b/cmake/GenerateExportHeader.cmake @@ -164,7 +164,7 @@ macro(_test_compiler_hidden_visibility) if(CMAKE_COMPILER_IS_GNUCXX) exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) - string(REGEX MATCH "[345]\\.[0-9]\\.[0-9]" + string(REGEX MATCH "[3456]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") # gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the # patch level, handle this here:
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