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