From 3975c68c5e71931fc4d518d8e1744d1fe1e6a50a Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Sun, 23 May 2021 13:21:08 +0100 Subject: [PATCH] Try to fix toolchain file on Windows --- toolchains/Dreamcast.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchains/Dreamcast.cmake b/toolchains/Dreamcast.cmake index 9a10474..00c4a9c 100644 --- a/toolchains/Dreamcast.cmake +++ b/toolchains/Dreamcast.cmake @@ -6,8 +6,8 @@ SET(CMAKE_SYSTEM_VERSION 1) set(CMAKE_CROSSCOMPILING TRUE) -set(CMAKE_C_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-gcc) -set(CMAKE_CXX_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-g++) +set(CMAKE_C_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-gcc${CMAKE_EXECUTABLE_SUFFIX}) +set(CMAKE_CXX_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-g++${CMAKE_EXECUTABLE_SUFFIX}) add_compile_options(-ml -m4-single-only -ffunction-sections -fdata-sections)