Skip to content

Commit

Permalink
stm32: stop pretending startup asm is C++
Browse files Browse the repository at this point in the history
CMake 3.20+ interpret the LANGUAGE property more strictly and try to compile the file as C++ instead of just using the C++ compiler to compile it.
  • Loading branch information
Daft-Freak authored Nov 26, 2024
1 parent 7e9db2b commit 80b8796
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 32blit-stm32/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
enable_language(ASM)

add_subdirectory(../32blit-shared ../32blit-shared)

add_library(BlitHalSTM32 OBJECT
Expand Down Expand Up @@ -107,8 +109,6 @@ add_library(BlitHalSTM32 OBJECT
)

set_source_files_properties(
startup_stm32h750xx.s

Src/main.c
Src/usbd_msc_scsi.c
Src/usb_device.c
Expand Down

0 comments on commit 80b8796

Please sign in to comment.