aboutsummaryrefslogtreecommitdiff
path: root/src/input_common
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2026-03-26 04:46:43 +0100
committercrueter <crueter@eden-emu.dev>2026-03-26 04:46:43 +0100
commit9cb700165634a271437abed723a53888eeb6be9c (patch)
treeb398a3765217901c0969147b69fa36d462a9aaff /src/input_common
parentf0d77e86e34cde3813f7b1dbfc4d1a9e8940b21b (diff)
[cmake] fixes for XCode when having languages other than C/C++ (#3772)
Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3772 Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt
index ef1308b1d0..406ee967b0 100644
--- a/src/input_common/CMakeLists.txt
+++ b/src/input_common/CMakeLists.txt
@@ -44,9 +44,7 @@ if (MSVC)
/we4800 # Implicit conversion from 'type' to bool. Possible information loss
)
else()
- target_compile_options(input_common PRIVATE
- -Werror=conversion
- )
+ target_compile_options(input_common PRIVATE $<$<COMPILE_LANGUAGE:C,CXX>:-Werror=conversion>)
endif()
if (ANDROID)