4242fe0a03
That implies we need to differentiate between a variable set but empty and an empty variable. GCC, Clang and the Intel compiler accept -msse2 on 64-bit builds without warning (they also accept -mno-sse2), but the Microsoft compiler does not have that option. Change-Id: I54233388ba10994996ae3e749fd829085e8fd7b7 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
6 lines
210 B
Prolog
6 lines
210 B
Prolog
SOURCES = sse2.cpp
|
|
CONFIG -= qt dylib release debug_and_release
|
|
CONFIG += debug console
|
|
!defined(QMAKE_CFLAGS_SSE2, var): error("This compiler does not support SSE2")
|
|
else:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_SSE2
|