We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5385773 + 1bbaee8 commit 4181cbcCopy full SHA for 4181cbc
CMakeLists.txt
@@ -140,9 +140,7 @@ target_compile_features(xwebrtc PRIVATE cxx_std_14)
140
141
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Intel")
142
target_compile_options(xwebrtc PUBLIC -Wunused-parameter -Wextra -Wreorder)
143
- if (DISABLE_ARCH_NATIVE)
144
- target_compile_options(xwebrtc PUBLIC -mtune=generic)
145
- else()
+ if (NOT DISABLE_ARCH_NATIVE)
146
target_compile_options(xwebrtc PUBLIC -march=native)
147
endif()
148
0 commit comments