We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 265384f commit 574f5e5Copy full SHA for 574f5e5
CMakeLists.txt
@@ -197,6 +197,9 @@ if(MSVC)
197
add_definitions(-DUSE_WINHELLO)
198
endif()
199
set(NFC_LINUX OFF)
200
+
201
+ add_compile_options(/Qspectre) # add Spectre mitigation compiler option. (https://docs.microsoft.com/en-us/cpp/build/reference/qspectre?view=vs-2017)
202
203
else()
204
include(FindPkgConfig)
205
pkg_search_module(CBOR libcbor)
@@ -282,8 +285,6 @@ else()
282
285
add_compile_options(-pedantic)
283
286
add_compile_options(-pedantic-errors)
284
287
- add_compile_options(/Qspectre) # add Spectre mitigation compiler option. (https://docs.microsoft.com/en-us/cpp/build/reference/qspectre?view=vs-2017)
-
288
set(EXTRA_CFLAGS "-Wconversion -Wsign-conversion")
289
290
if(WIN32)
0 commit comments