diff --git a/Software/grab/grab.pro b/Software/grab/grab.pro index 030aa9d4..4db2cec0 100644 --- a/Software/grab/grab.pro +++ b/Software/grab/grab.pro @@ -102,8 +102,9 @@ win32 { LIBS += -lprismatik-hooks -llibraryinjector -lprismatik-unhook # emulate every other compiler, __SSE4_1__ is defined when AVX2 is enabled (and __AVX2__ is also defined) - DEFINES += __SSE4_1__ - QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_AVX2 + DEFINES += __SSE4_1__ __AVX2__ + # causes global vectorization, enable if your target CPU has AVX2 + # QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_AVX2 } contains(DEFINES,NIGHTLIGHT_SUPPORT) {