Merge "Set QT_DEFAULT_MKSPEC for various bsd systems"

This commit is contained in:
Niclas Rosenvik 2021-03-18 14:12:08 +00:00 committed by Qt CI Bot
commit e9e3c09f4b

View File

@ -319,6 +319,16 @@ elseif(QNX)
set(QT_DEFAULT_MKSPEC qnx-${arch}-qcc)
endif()
endforeach()
elseif(FREEBSD)
if(CLANG)
set(QT_DEFAULT_MKSPEC freebsd-clang)
elseif(GCC)
set(QT_DEFAULT_MKSPEC freebsd-g++)
endif()
elseif(NETBSD)
set(QT_DEFAULT_MKSPEC netbsd-g++)
elseif(OPENBSD)
set(QT_DEFAULT_MKSPEC openbsd-g++)
endif()
if(NOT QT_QMAKE_TARGET_MKSPEC)