diff options
Diffstat (limited to 'src/server/shared')
| -rw-r--r-- | src/server/shared/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/shared/CMakeLists.txt b/src/server/shared/CMakeLists.txt index c347effe16c..5fd13cee9d4 100644 --- a/src/server/shared/CMakeLists.txt +++ b/src/server/shared/CMakeLists.txt @@ -14,7 +14,7 @@ CollectSourceFiles( # Exclude ${CMAKE_CURRENT_SOURCE_DIR}/PrecompiledHeaders) -if (USE_COREPCH) +if(USE_COREPCH) set(PRIVATE_PCH_HEADER PrecompiledHeaders/sharedPCH.h) endif() @@ -50,12 +50,12 @@ set_target_properties(shared FOLDER "server") -if( BUILD_SHARED_LIBS ) - if( UNIX ) +if(BUILD_SHARED_LIBS) + if(UNIX) install(TARGETS shared LIBRARY DESTINATION lib) - elseif( WIN32 ) + elseif(WIN32) install(TARGETS shared RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}") @@ -63,6 +63,6 @@ if( BUILD_SHARED_LIBS ) endif() # Generate precompiled header -if (USE_COREPCH) +if(USE_COREPCH) add_cxx_pch(shared ${PRIVATE_PCH_HEADER}) -endif () +endif() |
