From e258a52c799e88258c28695ef0b10c91c9deb5f8 Mon Sep 17 00:00:00 2001 From: Jonathan Protzenko Date: Mon, 24 Aug 2015 10:55:22 -0700 Subject: [PATCH] My CMake skills are weak... properly implement the GCC/ARMCC switch for the S file. --- source/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 0cca236..617e3de 100755 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -31,7 +31,7 @@ set(YOTTA_AUTO_MICROBIT-DAL_CPP_FILES if(CMAKE_COMPILER_IS_GNUCC) file(REMOVE "CortexContextSwitch.s") - file(RENAME "CortexContextSwitch.s.gcc" "CortexContextSwitch.s") + configure_file("CortexContextSwitch.s.gcc" "CortexContextSwitch.s" COPYONLY) endif() set(YOTTA_AUTO_MICROBIT-DAL_S_FILES