set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Xarch_x86_64 -msse4.1" PARENT_SCOPE) endif() if("arm64" IN_LIST CMAKE_OSX_ARCHITECTURES) message(STATUS "Building ARM64 MacOS binaries.") 0 comments on commit f5cc709 Please sign in to comment. Footer...
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} \ -Wall -Wextra -Wswitch -Wshadow -Wunused-parameter \ -Wmissing-prototypes -Wmissing-declarations -Wformat -Wformat-security") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \ -Wall -Wextra -Wswitch -Wshadow -Wunused-parameter \ -Wmissing-declarations ...
{CMAKE_CXX_FLAGS}") endif() else() message(STATUS "GCC_VERSION<4.6") - set(CMAKE_CXX_FLAGS "-Wall -Wextra -Werror") + set(CMAKE_CXX_FLAGS "-Wall -Wextra -Werror ${CMAKE_CXX_FLAGS}") if(CPP11) message(WARNING "C++11 feautures not supported for y...
(CMAKE_CXX_FLAGS "-Wall -Wextra -Werror -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter -Wno-error=maybe-uninitialized -Wno-error=unused-variable -std=c++11") + set(CMAKE_CXX_FLAGS "-Wall -Wextra -Werror -Wno-error=unused-but-set-v...