Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show First 20 Lines • Show All 197 Lines • ▼ Show 20 Lines | if(EXTRA_WARNINGS) | ||||
add_cxx_compiler_flags(-Wsuggest-override) | add_cxx_compiler_flags(-Wsuggest-override) | ||||
else() | else() | ||||
add_compiler_flags(-Wno-unused-parameter) | add_compiler_flags(-Wno-unused-parameter) | ||||
add_compiler_flags(-Wno-implicit-fallthrough) | add_compiler_flags(-Wno-implicit-fallthrough) | ||||
endif() | endif() | ||||
if(ENABLE_WERROR) | if(ENABLE_WERROR) | ||||
add_compiler_flags( | add_compiler_flags( | ||||
-Werror=vla | -Werror=return-type | ||||
-Werror=switch | |||||
-Werror=thread-safety-analysis | -Werror=thread-safety-analysis | ||||
-Werror=vla | |||||
) | ) | ||||
endif() | endif() | ||||
# Create a target for OpenSSL | # Create a target for OpenSSL | ||||
include(BrewHelper) | include(BrewHelper) | ||||
find_brew_prefix(OPENSSL_ROOT_DIR openssl) | find_brew_prefix(OPENSSL_ROOT_DIR openssl) | ||||
find_package(OpenSSL REQUIRED) | find_package(OpenSSL REQUIRED) | ||||
▲ Show 20 Lines • Show All 444 Lines • Show Last 20 Lines |