summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@solidstatenetworks.com>2021-09-04 12:16:16 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2021-12-24 12:52:14 +0100
commit2f22eb69fbf049144ecef53ede33a8bff18ca5eb (patch)
treebf69a89e75ead6df3a7696dc487fe446a8d310be /cmake
parent8cf93da67f39aeead0b956fec45240e2957733f0 (diff)
Fixed trailing whitespaces and missing new lines.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/detect-arch.c4
-rw-r--r--cmake/run-and-compare.cmake2
-rw-r--r--cmake/test-compress.cmake2
-rw-r--r--cmake/test-tools.cmake1
4 files changed, 4 insertions, 5 deletions
diff --git a/cmake/detect-arch.c b/cmake/detect-arch.c
index 8cae4eb..84e6a84 100644
--- a/cmake/detect-arch.c
+++ b/cmake/detect-arch.c
@@ -36,7 +36,7 @@
#if defined(__64BIT__) || defined(__powerpc64__) || defined(__ppc64__)
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#error archfound powerpc64le
- #else
+ #else
#error archfound powerpc64
#endif
#else
@@ -94,7 +94,7 @@
#error archfound rs6000
// RISC-V
-#elif defined(__riscv)
+#elif defined(__riscv)
#if __riscv_xlen == 64
#error archfound riscv64
#elif __riscv_xlen == 32
diff --git a/cmake/run-and-compare.cmake b/cmake/run-and-compare.cmake
index af54abc..209d31e 100644
--- a/cmake/run-and-compare.cmake
+++ b/cmake/run-and-compare.cmake
@@ -59,4 +59,4 @@ endif()
if(CMD_RESULT)
message(FATAL_ERROR "Run compare failed: ${CMD_RESULT}")
-endif() \ No newline at end of file
+endif()
diff --git a/cmake/test-compress.cmake b/cmake/test-compress.cmake
index 321fa54..cfc7613 100644
--- a/cmake/test-compress.cmake
+++ b/cmake/test-compress.cmake
@@ -261,4 +261,4 @@ if(GZIP_VERIFY AND NOT "${COMPRESS_ARGS}" MATCHES "-T")
endif()
endif()
-cleanup_always() \ No newline at end of file
+cleanup_always()
diff --git a/cmake/test-tools.cmake b/cmake/test-tools.cmake
index 3275935..4afe07c 100644
--- a/cmake/test-tools.cmake
+++ b/cmake/test-tools.cmake
@@ -32,4 +32,3 @@ add_test(NAME switchlevels-help
COMMAND ${CMAKE_COMMAND}
"-DCOMMAND=${TEST_COMMAND}"
-P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/run-and-redirect.cmake)
-