summaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index bf97d9ba2..34877b461 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -151,6 +151,10 @@ add_library(common STATIC
151 zstd_compression.h 151 zstd_compression.h
152) 152)
153 153
154if (YUZU_ENABLE_PORTABLE)
155 add_compile_definitions(YUZU_ENABLE_PORTABLE)
156endif()
157
154if (WIN32) 158if (WIN32)
155 target_sources(common PRIVATE 159 target_sources(common PRIVATE
156 windows/timer_resolution.cpp 160 windows/timer_resolution.cpp
@@ -191,8 +195,6 @@ if (MSVC)
191 _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING 195 _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
192 ) 196 )
193 target_compile_options(common PRIVATE 197 target_compile_options(common PRIVATE
194 /W4
195
196 /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data 198 /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data
197 /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data 199 /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data
198 /we4800 # Implicit conversion from 'type' to bool. Possible information loss 200 /we4800 # Implicit conversion from 'type' to bool. Possible information loss