From: Nathan Moinvaziri Date: Tue, 12 May 2020 02:05:24 +0000 (-0400) Subject: Rename archdetect files to detect-arch to match detect-sanitizer. X-Git-Tag: 1.9.9-b1~289 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e280ca517976f464116a460729cd0a34b5dd682;p=thirdparty%2Fzlib-ng.git Rename archdetect files to detect-arch to match detect-sanitizer. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 68d76c0ac..9fbdd5810 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,7 +53,7 @@ include(CheckCSourceRuns) include(CMakeDependentOption) include(FeatureSummary) -include(cmake/archdetect.cmake) +include(cmake/detect-arch.cmake) include(cmake/detect-sanitizer.cmake) if(CMAKE_TOOLCHAIN_FILE) diff --git a/cmake/archdetect.c b/cmake/detect-arch.c similarity index 100% rename from cmake/archdetect.c rename to cmake/detect-arch.c diff --git a/cmake/archdetect.cmake b/cmake/detect-arch.cmake similarity index 95% rename from cmake/archdetect.cmake rename to cmake/detect-arch.cmake index 3c87fddfd..75ef91229 100644 --- a/cmake/archdetect.cmake +++ b/cmake/detect-arch.cmake @@ -1,4 +1,4 @@ -# archdetect.cmake -- Detect compiler architecture and set ARCH and BASEARCH +# detect-arch.cmake -- Detect compiler architecture and set ARCH and BASEARCH # Copyright (C) 2019 Hans Kristian Rosbach # Licensed under the Zlib license, see LICENSE.md for details set(ARCHDETECT_FOUND TRUE) @@ -25,7 +25,7 @@ else() run_result_unused compile_result_unused ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/cmake/archdetect.c + ${CMAKE_CURRENT_SOURCE_DIR}/cmake/detect-arch.c COMPILE_OUTPUT_VARIABLE RAWOUTPUT CMAKE_FLAGS CMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES} )