]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Rename archdetect files to detect-arch to match detect-sanitizer.
authorNathan Moinvaziri <nathan@solidstatenetworks.com>
Tue, 12 May 2020 02:05:24 +0000 (22:05 -0400)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sun, 24 May 2020 12:49:30 +0000 (14:49 +0200)
CMakeLists.txt
cmake/detect-arch.c [moved from cmake/archdetect.c with 100% similarity]
cmake/detect-arch.cmake [moved from cmake/archdetect.cmake with 95% similarity]

index 68d76c0acbf515f2d36be94bbe7dc41ecedae713..9fbdd5810241c1e71680604fa2ebd88809ae214e 100644 (file)
@@ -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)
similarity index 100%
rename from cmake/archdetect.c
rename to cmake/detect-arch.c
similarity index 95%
rename from cmake/archdetect.cmake
rename to cmake/detect-arch.cmake
index 3c87fddfd6a554170e159661623a8419c9a5e2dc..75ef9122912257e4c49fda9a57e42a02a06d3433 100644 (file)
@@ -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}
     )