diff options
| author | hathach <[email protected]> | 2024-04-22 16:17:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-04-22 16:17:22 +0700 |
| commit | c097c85dcf8e0ef3ea052c146c5f514101827251 (patch) | |
| tree | 1a0956149ddd6f9967ced1ef2609ab2afa3c9a2d /src/CMakeLists.txt | |
| parent | 62331f02070bdb1bec2890885008e9f88b06bdb6 (diff) | |
fix print lu format warnings with clang
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 076e1e1eb..272962332 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -41,7 +41,7 @@ function(add_tinyusb TARGET) ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/../lib/networking ) - if (CMAKE_C_COMPILER_ID STREQUAL "GNU") + if (CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang") target_compile_options(${TARGET} PRIVATE -Wall -Wextra |
