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 34b215f commit e888483Copy full SHA for e888483
SerialPrograms/CMakeLists.txt
@@ -462,9 +462,10 @@ else() # macOS and Linux
462
endif()
463
464
if (APPLE)
465
- target_compile_options(SerialProgramsLib PRIVATE -Wall -Wextra -Wpedantic -Werror)
466
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
467
- target_compile_options(SerialProgramsLib PRIVATE -Wshorten-64-to-32)
+ target_compile_options(SerialProgramsLib PRIVATE -Wall -Wextra -Wpedantic -Werror -Wshorten-64-to-32)
+ else()
468
+ target_compile_options(SerialProgramsLib PRIVATE -Wall -Wextra -Wpedantic -Werror -Wno-unused-parameter)
469
470
471
# on macOS, need this framework to query OS API to control display sleep and system sleep behavior
0 commit comments