Skip to content

Commit 231dae7

Browse files
vthiebaut10Andrew
authored andcommitted
Add qspecter compiler option
1 parent 224039e commit 231dae7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ if (COVERAGE)
138138
endif()
139139
endif (COVERAGE)
140140

141+
add_compile_options(/Qspectre) # add Spectre mitigation compiler option. (https://docs.microsoft.com/en-us/cpp/build/reference/qspectre?view=vs-2017)
141142

142143
# We want to generate configuration.h from the template and make it so that it is accessible using the same
143144
# path during both library build and installed header use, without littering the source dir.

0 commit comments

Comments
 (0)