From 0019a7c1ea6dc0a24582ab8238a3134ba7c1229d Mon Sep 17 00:00:00 2001 From: Mateo Cindric Date: Tue, 3 Jan 2023 15:52:48 +0000 Subject: [PATCH] CMake: move CMake package find scripts to CMakeModules --- CMakeLists.txt | 2 +- {cmake/Modules => CMakeModules}/FindAUGYANG.cmake | 0 {cmake/Modules => CMakeModules}/FindLIBSYSTEMD.cmake | 0 {cmake/Modules => CMakeModules}/FindLIBYANG.cmake | 0 {cmake/Modules => CMakeModules}/FindSRPC.cmake | 0 {cmake/Modules => CMakeModules}/FindSYSREPO.cmake | 0 {cmake/Modules => CMakeModules}/FindUMGMT.cmake | 0 7 files changed, 1 insertion(+), 1 deletion(-) rename {cmake/Modules => CMakeModules}/FindAUGYANG.cmake (100%) rename {cmake/Modules => CMakeModules}/FindLIBSYSTEMD.cmake (100%) rename {cmake/Modules => CMakeModules}/FindLIBYANG.cmake (100%) rename {cmake/Modules => CMakeModules}/FindSRPC.cmake (100%) rename {cmake/Modules => CMakeModules}/FindSYSREPO.cmake (100%) rename {cmake/Modules => CMakeModules}/FindUMGMT.cmake (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2dfc9cf..68645ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,7 @@ include_directories( ) # find needed and optional packages -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules") +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMakeModules") find_package(SYSREPO REQUIRED) find_package(LIBYANG REQUIRED) find_package(SRPC REQUIRED) diff --git a/cmake/Modules/FindAUGYANG.cmake b/CMakeModules/FindAUGYANG.cmake similarity index 100% rename from cmake/Modules/FindAUGYANG.cmake rename to CMakeModules/FindAUGYANG.cmake diff --git a/cmake/Modules/FindLIBSYSTEMD.cmake b/CMakeModules/FindLIBSYSTEMD.cmake similarity index 100% rename from cmake/Modules/FindLIBSYSTEMD.cmake rename to CMakeModules/FindLIBSYSTEMD.cmake diff --git a/cmake/Modules/FindLIBYANG.cmake b/CMakeModules/FindLIBYANG.cmake similarity index 100% rename from cmake/Modules/FindLIBYANG.cmake rename to CMakeModules/FindLIBYANG.cmake diff --git a/cmake/Modules/FindSRPC.cmake b/CMakeModules/FindSRPC.cmake similarity index 100% rename from cmake/Modules/FindSRPC.cmake rename to CMakeModules/FindSRPC.cmake diff --git a/cmake/Modules/FindSYSREPO.cmake b/CMakeModules/FindSYSREPO.cmake similarity index 100% rename from cmake/Modules/FindSYSREPO.cmake rename to CMakeModules/FindSYSREPO.cmake diff --git a/cmake/Modules/FindUMGMT.cmake b/CMakeModules/FindUMGMT.cmake similarity index 100% rename from cmake/Modules/FindUMGMT.cmake rename to CMakeModules/FindUMGMT.cmake