From ac6914398c1492243308b902fa6237dbc78857a2 Mon Sep 17 00:00:00 2001 From: Colton Pawielski Date: Sat, 4 Mar 2023 16:11:11 -0600 Subject: [PATCH] Fix .elf extension on C example executables --- toolchains/Dreamcast.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchains/Dreamcast.cmake b/toolchains/Dreamcast.cmake index fa5110c..a35b73c 100644 --- a/toolchains/Dreamcast.cmake +++ b/toolchains/Dreamcast.cmake @@ -49,7 +49,7 @@ ENDIF() add_link_options(-L$ENV{KOS_BASE}/lib/dreamcast) link_libraries(-Wl,--start-group -lstdc++ -lkallisti -lc -lgcc -Wl,--end-group m) -SET(CMAKE_EXECUTABLE_SUFFIX ".elf") +SET(CMAKE_EXECUTABLE_SUFFIX_C ".elf") SET(CMAKE_EXECUTABLE_SUFFIX_CXX ".elf") ADD_DEFINITIONS(