From 67982ff810a739b53be39fd0577cf9f8ece214e3 Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Mon, 14 Oct 2024 17:36:29 +0200 Subject: [PATCH] shut up clang --- lib/lua/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/lua/CMakeLists.txt b/lib/lua/CMakeLists.txt index 627fab364..9d7aaef90 100644 --- a/lib/lua/CMakeLists.txt +++ b/lib/lua/CMakeLists.txt @@ -52,4 +52,5 @@ set_target_properties(${liblua} PROPERTIES CXX_STANDARD 98 CXX_EXTENSIONS TRUE ) +target_compile_options(lua PRIVATE -w) # this makes clang shut up about c-as-c++ set_source_files_properties(${LUA_SRC} PROPERTIES LANGUAGE CXX)