[build] Do not redefine MASON_PLATFORM
This commit is contained in:
committed by
Konstantin Käfer
parent
692fe1f3ff
commit
4e5fc0d7a4
@@ -6,10 +6,12 @@ if (NOT DEFINED MBGL_PLATFORM)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(MBGL_PLATFORM STREQUAL "macos")
|
||||
set(ENV{MASON_PLATFORM} "osx")
|
||||
else()
|
||||
set(ENV{MASON_PLATFORM} ${MBGL_PLATFORM})
|
||||
if (NOT DEFINED ENV{MASON_PLATFORM})
|
||||
if(MBGL_PLATFORM STREQUAL "macos")
|
||||
set(ENV{MASON_PLATFORM} "osx")
|
||||
else()
|
||||
set(ENV{MASON_PLATFORM} ${MBGL_PLATFORM})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(MBGL_GENERATED ${CMAKE_BINARY_DIR}/generated/${CMAKE_CFG_INTDIR})
|
||||
|
||||
Reference in New Issue
Block a user