aboutsummaryrefslogtreecommitdiff
path: root/src/common
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 /src/common
parentb210bb37130087d9a25a61dfb1b8baa60540c12c (diff)
fixed indentation for cmake files
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()