From 0dd797cea4a21977f1d7aec7ddc9aaf21b5d497d Mon Sep 17 00:00:00 2001 From: surenyi Date: Thu, 9 Sep 2021 12:25:53 +0800 Subject: [PATCH] move cmake to lib/ Signed-off-by: surenyi --- CMakeLists.txt | 4 ++-- {cmake => lib/cmake}/c6400-toolchain.cmake | 0 {cmake => lib/cmake}/find_compiler.cmake | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {cmake => lib/cmake}/c6400-toolchain.cmake (100%) rename {cmake => lib/cmake}/find_compiler.cmake (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6facfeb..9e77695 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,10 +4,10 @@ if (NOT DEFINED CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release") endif() -list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake) +list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/lib/cmake) if (NOT DEFINED CMAKE_TOOLCHAIN_FILE) - set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_LIST_DIR}/cmake/c6400-toolchain.cmake) + set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_LIST_DIR}/lib/cmake/c6400-toolchain.cmake) endif() project(c6416_sdk C ASM) diff --git a/cmake/c6400-toolchain.cmake b/lib/cmake/c6400-toolchain.cmake similarity index 100% rename from cmake/c6400-toolchain.cmake rename to lib/cmake/c6400-toolchain.cmake diff --git a/cmake/find_compiler.cmake b/lib/cmake/find_compiler.cmake similarity index 100% rename from cmake/find_compiler.cmake rename to lib/cmake/find_compiler.cmake