We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f64834 commit 515823eCopy full SHA for 515823e
tests/CMakeLists.txt
@@ -23,9 +23,9 @@ function(add_platform_definitions TARGET)
23
target_compile_options(${TARGET} PRIVATE -Wextra)
24
target_compile_options(${TARGET} PRIVATE -Werror)
25
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
26
- target_compile_options(${target} PRIVATE /W4)
27
- target_compile_options(${target} PRIVATE /WX)
28
- target_compile_options(${target} PRIVATE /EHs)
+ target_compile_options(${TARGET} PRIVATE /W4)
+ target_compile_options(${TARGET} PRIVATE /WX)
+ target_compile_options(${TARGET} PRIVATE /EHs)
29
endif()
30
endfunction()
31
0 commit comments