]> git.lyx.org Git - features.git/commitdiff
Server.cpp needs moc on WIN32 only
authorStephan Witt <switt@lyx.org>
Mon, 31 May 2010 09:50:24 +0000 (09:50 +0000)
committerStephan Witt <switt@lyx.org>
Mon, 31 May 2010 09:50:24 +0000 (09:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34551 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/src/CMakeLists.txt

index fa91c0cdf35edeb0397fa25c39f4993859067d79..e3df99bdcbec7d79089b6c28fb56b9ec72f52ab3 100644 (file)
@@ -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})