mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
simplify osx_archs trimming
git-svn-id: http://svn.osgeo.org/qgis/trunk@11575 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
242d769938
commit
0f11b58013
@ -15,8 +15,7 @@ if sys.platform == 'darwin':
|
|||||||
qt_libs.append("QtSql")
|
qt_libs.append("QtSql")
|
||||||
# possibility of universal build of bindings, if more than 1 arch
|
# possibility of universal build of bindings, if more than 1 arch
|
||||||
osx_archs = '@CMAKE_OSX_ARCHITECTURES@'
|
osx_archs = '@CMAKE_OSX_ARCHITECTURES@'
|
||||||
if osx_archs and osx_archs [-1] == ';' :
|
osx_archs = osx_archs.strip(';')
|
||||||
osx_archs = osx_archs [:-1]
|
|
||||||
if osx_archs.count(';') > 0:
|
if osx_archs.count(';') > 0:
|
||||||
osx_universal = '@CMAKE_OSX_SYSROOT@'
|
osx_universal = '@CMAKE_OSX_SYSROOT@'
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user