When compiling `simu`, `clang` complains about all the StdPeriph headers declaring assembly with invalid operand width.
7 lines
192 B
CMake
7 lines
192 B
CMake
# Native toolchain
|
|
|
|
if(APPLE)
|
|
set(CMAKE_C_FLAGS "-Wno-asm-operand-widths -Wno-deprecated-declarations")
|
|
set(CMAKE_CXX_FLAGS "-Wno-asm-operand-widths -Wno-deprecated-declarations")
|
|
endif()
|