Skip to content

Commit 515823e

Browse files
committed
Fixed typo in CMake script
1 parent 6f64834 commit 515823e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ function(add_platform_definitions TARGET)
2323
target_compile_options(${TARGET} PRIVATE -Wextra)
2424
target_compile_options(${TARGET} PRIVATE -Werror)
2525
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)
26+
target_compile_options(${TARGET} PRIVATE /W4)
27+
target_compile_options(${TARGET} PRIVATE /WX)
28+
target_compile_options(${TARGET} PRIVATE /EHs)
2929
endif()
3030
endfunction()
3131

0 commit comments

Comments
 (0)