mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
fixed indentation for cmake files
(cherry picked from commit a46d047f94)
This commit is contained in:
@@ -14,7 +14,7 @@ CollectSourceFiles(
|
||||
# Exclude
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/PrecompiledHeaders)
|
||||
|
||||
if (USE_COREPCH)
|
||||
if(USE_COREPCH)
|
||||
set(PRIVATE_PCH_HEADER PrecompiledHeaders/databasePCH.h)
|
||||
endif()
|
||||
|
||||
@@ -59,12 +59,12 @@ set_target_properties(database
|
||||
FOLDER
|
||||
"server")
|
||||
|
||||
if( BUILD_SHARED_LIBS )
|
||||
if( UNIX )
|
||||
if(BUILD_SHARED_LIBS)
|
||||
if(UNIX)
|
||||
install(TARGETS database
|
||||
LIBRARY
|
||||
DESTINATION lib)
|
||||
elseif( WIN32 )
|
||||
elseif(WIN32)
|
||||
install(TARGETS database
|
||||
RUNTIME
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
||||
@@ -72,6 +72,6 @@ if( BUILD_SHARED_LIBS )
|
||||
endif()
|
||||
|
||||
# Generate precompiled header
|
||||
if (USE_COREPCH)
|
||||
if(USE_COREPCH)
|
||||
add_cxx_pch(database ${PRIVATE_PCH_HEADER})
|
||||
endif ()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user