conda: fix conda build failure because CMAKE_SYSTEM_PROCESSOR is not defined

This commit is contained in:
wmayer
2020-02-17 19:25:12 +01:00
parent c003c4c2ad
commit 606606edec

View File

@@ -14,7 +14,7 @@ macro(SetGlobalCompilerAndLinkerSettings)
endif(CMAKE_SIZEOF_VOID_P EQUAL 8)
# check for mips64 platform
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "mips64")
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "mips64")
message(STATUS "Architecture: mips64")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mxgot")
endif()