Skip to content

Commit

Permalink
Remove -Wextra as it is not recognized by MSVC, and breaks the build.
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcostajunior committed Feb 4, 2024
1 parent cc64031 commit e964811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ FetchContent_MakeAvailable(GoogleTest)
add_library(obc_lib STATIC
src/Token.cpp src/Scanner.cpp src/ErrorInfo.cpp src/TokenUtils.cpp)
target_include_directories(obc_lib PUBLIC src)
target_compile_options(obc_lib PUBLIC -Wall -Wextra)
target_compile_options(obc_lib PUBLIC -Wall)

# The compiler CLI
add_executable(obc
Expand Down

0 comments on commit e964811

Please sign in to comment.