diff options
| author | Ha Thach <[email protected]> | 2023-06-02 17:07:28 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-02 17:07:28 +0700 |
| commit | c7686f8d5e98660137ef176d35bc8a82f63675f3 (patch) | |
| tree | 7735439589bf79eac95e179c270b922a37900831 /src | |
| parent | 002cb9289d7e8f7efa807356aa8af7f4c67583a8 (diff) | |
| parent | 2016ad72f3dad74ee752943ab29c687a82687255 (diff) | |
Merge pull request #2092 from hathach/stm32g4
Stm32g4
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 396737ed5..09f41c9ab 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -65,6 +65,8 @@ function(add_tinyusb TARGET) -Wreturn-type -Wredundant-decls ) + elseif (CMAKE_C_COMPILER_ID STREQUAL "IAR") + endif () endfunction() @@ -96,3 +98,7 @@ endif() target_link_libraries(${TINYUSB_TARGET} PUBLIC ${TINYUSB_CONFIG_TARGET} ) + +# export target name +# set(TINYUSB_TARGET ${TINYUSB_TARGET} PARENT_SCOPE) +# set(TINYUSB_CONFIG_TARGET ${TINYUSB_CONFIG_TARGET} PARENT_SCOPE) |
