diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/CMakeLists.txt | 14 |
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() |
