Author: switt
Date: Thu Jan  6 21:58:19 2011
New Revision: 37139
URL: http://www.lyx.org/trac/changeset/37139

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

Modified:
   lyx-devel/branches/BRANCH_1_6_X/development/cmake/src/CMakeLists.txt

Modified: lyx-devel/branches/BRANCH_1_6_X/development/cmake/src/CMakeLists.txt
==============================================================================
--- lyx-devel/branches/BRANCH_1_6_X/development/cmake/src/CMakeLists.txt        
Thu Jan  6 21:57:16 2011        (r37138)
+++ lyx-devel/branches/BRANCH_1_6_X/development/cmake/src/CMakeLists.txt        
Thu Jan  6 21:58:19 2011        (r37139)
@@ -41,7 +41,9 @@
        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}

Reply via email to