File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -167,14 +167,7 @@ if(MSVC)
167
167
string (REGEX REPLACE "/W[0-4]" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} " )
168
168
endif ()
169
169
170
- # Object Level Parallelism
171
- add_compile_options (/MP )
172
- add_compile_options (/utf-8 )
173
- add_definitions (-DNOMINMAX ) # This definition is not only needed for Exiv2 but also for xmpsdk
174
-
175
- # https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
176
- if (MSVC_VERSION GREATER_EQUAL "1910" ) # VS2017 and up
177
- add_compile_options ("/Zc:__cplusplus" )
178
- endif ()
179
-
170
+ add_compile_options (/MP ) # Object Level Parallelism
171
+ add_compile_options (/utf-8 ) # Set source and execution character sets to UTF-8
172
+ add_definitions (-DNOMINMAX ) # This definition is not only needed for Exiv2 but also for xmpsdk
180
173
endif ()
You can’t perform that action at this time.
0 commit comments