From: Stephan Witt Date: Mon, 31 May 2010 09:50:24 +0000 (+0000) Subject: Server.cpp needs moc on WIN32 only X-Git-Tag: 2.0.0~3197 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c45d20be905408bb9d65a8a8dc07708083aa687a;p=features.git Server.cpp needs moc on WIN32 only git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34551 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/cmake/src/CMakeLists.txt b/development/cmake/src/CMakeLists.txt index fa91c0cdf3..e3df99bdcb 100644 --- a/development/cmake/src/CMakeLists.txt +++ b/development/cmake/src/CMakeLists.txt @@ -56,7 +56,10 @@ if (ENCHANT_FOUND) list(APPEND lyx_headers ${TOP_SRC_DIR}/src/EnchantChecker.h) 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} ${ZLIB_INCLUDE_DIR} ${QT_INCLUDES})