qtbase/cmake/QtCompilerFlags.cmake

7 lines
157 B
CMake
Raw Normal View History

# Set warnings. All compilers except MSVC support -Wall -Wextra
if (MSVC)
add_compile_options(/W3)
else()
add_compile_options(-Wall -Wextra)
endif()