Set QT_DEFAULT_MKSPEC for various bsd systems
Set QT_DEFAULT_MKSPEC for various bsd systems, this is needed to find qplatformdefs.h when compiling. Change-Id: I9450193b737930548f32c87be3525c5ecd1e0e13 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
919425cb3a
commit
36a366c871
@ -319,6 +319,16 @@ elseif(QNX)
|
|||||||
set(QT_DEFAULT_MKSPEC qnx-${arch}-qcc)
|
set(QT_DEFAULT_MKSPEC qnx-${arch}-qcc)
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
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()
|
endif()
|
||||||
|
|
||||||
if(NOT QT_QMAKE_TARGET_MKSPEC)
|
if(NOT QT_QMAKE_TARGET_MKSPEC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user