aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/clang
diff options
context:
space:
mode:
authoripriver <g1ran1q@gmail.com>2020-06-22 15:27:03 +0300
committerPeter Keresztes Schmidt <carbenium@outlook.com>2020-06-24 14:42:02 +0200
commita46d047f9466c6f16597755bb7c771a9d1a147f2 (patch)
tree136303f021208e514db5c9b0fff1b65dc8d2d3cf /cmake/compiler/clang
parentb210bb37130087d9a25a61dfb1b8baa60540c12c (diff)
fixed indentation for cmake files
Diffstat (limited to 'cmake/compiler/clang')
-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