mirror of
https://github.com/Vita3K/Vita3K.git
synced 2026-07-11 01:34:23 +02:00
Build system: disable not needed compiler flags (-msse2 -mavx -mf16c )
This commit is contained in:
committed by
Nicolas Jallamion
parent
de46281be1
commit
980beb4230
@@ -148,12 +148,6 @@ if(CMAKE_GENERATOR MATCHES "Visual Studio" AND (CMAKE_C_COMPILER_ID MATCHES "MSV
|
||||
string(APPEND CMAKE_CXX_FLAGS " /MP")
|
||||
endif()
|
||||
|
||||
if ((CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
OR (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
OR (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang"))
|
||||
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