Skip to content
Snippets Groups Projects
Commit 8e8c6215 authored by moon2's avatar moon2 :speech_balloon:
Browse files

added -Wno-error=unknown-pragmas to clang-tidy bl00mbox build flags

parent 8c6d6c74
No related branches found
No related tags found
1 merge request!602bl00mbox: 95% of the 1.3 release updates
Pipeline #9375 passed
......@@ -11,9 +11,11 @@ project(flow3r)
# generally don't want doubles, doubles on ESP32 bad.
idf_component_get_property(st3m_lib st3m COMPONENT_LIB)
idf_component_get_property(flow3r_bsp_lib flow3r_bsp COMPONENT_LIB)
idf_component_get_property(bl00mbox_lib bl00mbox COMPONENT_LIB)
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
target_compile_options(${st3m_lib} PRIVATE -cl-single-precision-constant -Wdouble-promotion)
target_compile_options(${flow3r_bsp_lib} PRIVATE -cl-single-precision-constant -Wdouble-promotion)
target_compile_options(${bl00mbox_lib} PRIVATE -Wno-error=unknown-pragmas)
else()
target_compile_options(${st3m_lib} PRIVATE -fsingle-precision-constant -Wdouble-promotion)
target_compile_options(${flow3r_bsp_lib} PRIVATE -fsingle-precision-constant -Wdouble-promotion)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment