mirror of
https://github.com/Vita3K/Vita3K.git
synced 2026-07-11 01:34:23 +02:00
emu: Add AVX build flags on GCC and Clang
This commit is contained in:
@@ -44,6 +44,10 @@ if(WIN32)
|
||||
add_definitions (/D "_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" /D "_CRT_SECURE_NO_WARNINGS")
|
||||
endif()
|
||||
|
||||
if ((CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR (CMAKE_CXX_COMPILER_ID STREQUAL "GNU"))
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2 -mavx -mf16c")
|
||||
endif()
|
||||
|
||||
add_subdirectory(external)
|
||||
add_subdirectory(vita3k)
|
||||
add_subdirectory(tools/gen-modules)
|
||||
|
||||
Reference in New Issue
Block a user