From bde36062b7a0bf621086e73a5d419cd8637e9e96 Mon Sep 17 00:00:00 2001 From: ipriver Date: Mon, 22 Jun 2020 15:27:03 +0300 Subject: fixed indentation for cmake files (cherry picked from commit a46d047f9466c6f16597755bb7c771a9d1a147f2) --- src/common/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/common') 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() -- cgit v1.2.3