Server.cpp needs moc on WIN32 only

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34551 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2010-05-31 09:50:24 +00:00
parent 245e58fe13
commit c45d20be90

View File

@ -56,7 +56,10 @@ if (ENCHANT_FOUND)
list(APPEND lyx_headers ${TOP_SRC_DIR}/src/EnchantChecker.h) list(APPEND lyx_headers ${TOP_SRC_DIR}/src/EnchantChecker.h)
endif() endif()
lyx_automoc(${TOP_SRC_DIR}/src/Compare.cpp ${TOP_SRC_DIR}/src/Server.cpp) lyx_automoc(${TOP_SRC_DIR}/src/Compare.cpp)
if (WIN32)
lyx_automoc(${TOP_SRC_DIR}/src/Server.cpp)
endif()
include_directories(${CMAKE_CURRENT_BINARY_DIR} include_directories(${CMAKE_CURRENT_BINARY_DIR}
${ZLIB_INCLUDE_DIR} ${QT_INCLUDES}) ${ZLIB_INCLUDE_DIR} ${QT_INCLUDES})