aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authoripriver <g1ran1q@gmail.com>2020-06-22 15:27:03 +0300
committerShauren <shauren.trinity@gmail.com>2022-01-06 23:40:39 +0100
commitbde36062b7a0bf621086e73a5d419cd8637e9e96 (patch)
tree509f8303b1f6e00cb1b4c44d88e5e7eb0093a369 /src/common
parentc776218cb5b0cc8f9f6d4d509cf6c36212eb38aa (diff)
fixed indentation for cmake files
(cherry picked from commit a46d047f9466c6f16597755bb7c771a9d1a147f2)
Diffstat (limited to 'src/common')
-rw-r--r--src/common/CMakeLists.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 7dfb21bc82d..0fc7d1d5b47 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -23,9 +23,9 @@ list(APPEND PRIVATE_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/Debugging/Errors.cpp
${CMAKE_CURRENT_SOURCE_DIR}/Debugging/Errors.h)
-if (USE_COREPCH)
+if(USE_COREPCH)
set(PRIVATE_PCH_HEADER PrecompiledHeaders/commonPCH.h)
-endif (USE_COREPCH)
+endif(USE_COREPCH)
GroupSources(${CMAKE_CURRENT_SOURCE_DIR})
@@ -82,12 +82,12 @@ set_target_properties(common
FOLDER
"server")
-if( BUILD_SHARED_LIBS )
- if( UNIX )
+if(BUILD_SHARED_LIBS)
+ if(UNIX)
install(TARGETS common
LIBRARY
DESTINATION lib)
- elseif( WIN32 )
+ elseif(WIN32)
install(TARGETS common
RUNTIME
DESTINATION "${CMAKE_INSTALL_PREFIX}")
@@ -95,6 +95,6 @@ if( BUILD_SHARED_LIBS )
endif()
# Generate precompiled header
-if (USE_COREPCH)
+if(USE_COREPCH)
add_cxx_pch(common ${PRIVATE_PCH_HEADER})
-endif ()
+endif()