aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/clang/settings.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/compiler/clang/settings.cmake')
-rw-r--r--cmake/compiler/clang/settings.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/compiler/clang/settings.cmake b/cmake/compiler/clang/settings.cmake
index 222271c8990..8e04f66abb2 100644
--- a/cmake/compiler/clang/settings.cmake
+++ b/cmake/compiler/clang/settings.cmake
@@ -13,7 +13,7 @@ if(WITH_WARNINGS)
-Wfatal-errors
-Wno-mismatched-tags
-Woverloaded-virtual)
-
+
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 10)
target_compile_options(trinity-warning-interface
INTERFACE
@@ -57,7 +57,7 @@ target_compile_options(trinity-compile-option-interface
-Wno-narrowing
-Wno-deprecated-register)
-if (BUILD_SHARED_LIBS)
+if(BUILD_SHARED_LIBS)
# -fPIC is needed to allow static linking in shared libs.
# -fvisibility=hidden sets the default visibility to hidden to prevent exporting of all symbols.
target_compile_options(trinity-compile-option-interface