Skip to content

Commit

Permalink
link error only
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeGautherie committed Jun 3, 2024
1 parent 9a214fe commit 6281441
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@ if(NOT CMAKE_CROSSCOMPILING)

# Enable all compiler warnings. Treat compiler and linker warnings as errors.
# add_compile_options(/Wall /WX)
add_compile_options(/WX)
# add_compile_options(/WX)
add_link_options(/WX)
else()
# Enable all (and extra) compiler warnings. Treat compiler and linker warnings as errors.
# add_compile_options(-Wall -Werror -Wextra)
# add_compile_options(-Wall -Werror)
add_compile_options(-Werror)
# add_compile_options(-Werror)
add_link_options(-Wl,--fatal-warnings)
endif()
add_subdirectory(sdk/include/host)
Expand Down

0 comments on commit 6281441

Please sign in to comment.