cmake: Server.cpp is moc-able on win32 only

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37139 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2011-01-06 20:58:19 +00:00
parent 208cd3e8f8
commit ae3d1bebf8

View File

@ -41,7 +41,9 @@ if (NOT ENCHANT_FOUND)
list(REMOVE_ITEM lyx_headers ${TOP_SRC_DIR}/src/Enchant.h)
endif()
lyx_automoc(${TOP_SRC_DIR}/src/Server.cpp)
if (WIN32)
lyx_automoc(${TOP_SRC_DIR}/src/Server.cpp)
endif()
include_directories(
${CMAKE_CURRENT_BINARY_DIR}