Skip to content
Snippets Groups Projects
Commit c43df8fb authored by Roxie Linden's avatar Roxie Linden
Browse files

disable unused but set warnings on newer compilers on mac.

parent 8ba90d07
No related branches found
No related tags found
No related merge requests found
...@@ -182,7 +182,9 @@ if (LINUX OR DARWIN) ...@@ -182,7 +182,9 @@ if (LINUX OR DARWIN)
list(APPEND GCC_WARNINGS -Wno-reorder -Wno-non-virtual-dtor ) list(APPEND GCC_WARNINGS -Wno-reorder -Wno-non-virtual-dtor )
# list(APPEND GCC_WARNINGS -Wno-unused-but-set-variable -Wno-unused-variable ) if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 13)
list(APPEND GCC_WARNINGS -Wno-unused-but-set-variable -Wno-unused-variable )
endif()
add_compile_options(${GCC_WARNINGS}) add_compile_options(${GCC_WARNINGS})
add_compile_options(-m${ADDRESS_SIZE}) add_compile_options(-m${ADDRESS_SIZE})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment