aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/FindArch.cmake
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-03-28 20:29:12 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-03-28 20:29:12 +0100
commit9631b8674c5f782c548fe114f12b61bcdf59f318 (patch)
tree95a837822735795af76a5fe96c12d51920162e2d /cmake/FindArch.cmake
parentf6552b170a005edc330a995b9b276e26b7849f44 (diff)
downloadrspamd-9631b8674c5f782c548fe114f12b61bcdf59f318.tar.gz
rspamd-9631b8674c5f782c548fe114f12b61bcdf59f318.zip
[Minor] Remove useless checks
Diffstat (limited to 'cmake/FindArch.cmake')
-rw-r--r--cmake/FindArch.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmake/FindArch.cmake b/cmake/FindArch.cmake
index 277289248..d1defc82b 100644
--- a/cmake/FindArch.cmake
+++ b/cmake/FindArch.cmake
@@ -90,8 +90,6 @@ function(target_architecture output_var)
else()
file(WRITE "${CMAKE_BINARY_DIR}/arch.c" "${archdetect_c_code}")
- enable_language(C)
-
# Detect the architecture in a rather creative way...
# This compiles a small C program which is a series of ifdefs that selects a
# particular #error preprocessor directive whose message string contains the