Skip to content

Commit

Permalink
Merge pull request #474 from zomfg/hotfix/msvc-avx2
Browse files Browse the repository at this point in the history
grab.pro: avx2 revert/comment
  • Loading branch information
psieg authored Jun 19, 2021
2 parents bc02f07 + b897a46 commit 7a03e1b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Software/grab/grab.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7a03e1b

Please sign in to comment.