Changed: #880 Use PCH under Linux with CMake
This commit is contained in:
parent
c6067c97b7
commit
68e9af06f5
1 changed files with 4 additions and 0 deletions
|
@ -65,5 +65,9 @@ IF(WIN32)
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||||
|
|
||||||
|
IF(WITH_PCH)
|
||||||
|
ADD_NATIVE_PRECOMPILED_HEADER(entities_game_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
|
||||||
|
ENDIF(WITH_PCH)
|
||||||
|
|
||||||
INSTALL(TARGETS entities_game_service RUNTIME DESTINATION sbin COMPONENT services)
|
INSTALL(TARGETS entities_game_service RUNTIME DESTINATION sbin COMPONENT services)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue