aboutsummaryrefslogtreecommitdiff
path: root/libs/7zip
diff options
context:
space:
mode:
Diffstat (limited to 'libs/7zip')
-rw-r--r--libs/7zip/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/7zip/CMakeLists.txt b/libs/7zip/CMakeLists.txt
index 915be26..5db6f0a 100644
--- a/libs/7zip/CMakeLists.txt
+++ b/libs/7zip/CMakeLists.txt
@@ -443,7 +443,7 @@ target_compile_options(7z PRIVATE
-Wno-unused-parameter
-Wno-sign-compare
-Wno-missing-field-initializers
- -Wno-reorder
+ $<$<COMPILE_LANGUAGE:CXX>:-Wno-reorder>
)
target_link_libraries(7z PRIVATE pthread dl)