Skip to content

Commit

Permalink
[build] Block warnings coming from thirdparties
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Nov 16, 2024
1 parent 0655630 commit e2b5ab4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ble.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
set(LIBFMT_VENDORIZE OFF)
set(SIMPLEBLE_INSTALL OFF)
add_subdirectory(3rdparty/SimpleBLE/simpleble "${CMAKE_BINARY_DIR}/simpleble-build" SYSTEM)

block()
if(MSVC)
add_compile_options("/w")
else()
add_compile_options("-w")
endif()
add_subdirectory(3rdparty/SimpleBLE/simpleble "${CMAKE_BINARY_DIR}/simpleble-build" SYSTEM)
endblock()
set(ble-database_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/bluetooth-numbers-database/")

set(BLE_SERVICE_UUIDS_JSON "${ble-database_SOURCE_DIR}/v1/service_uuids.json")
Expand Down

0 comments on commit e2b5ab4

Please sign in to comment.