]> git.lyx.org Git - lyx.git/commitdiff
cmake: fix merged build
authorPeter Kümmel <syntheticpp@gmx.net>
Fri, 11 Feb 2011 02:20:23 +0000 (02:20 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Fri, 11 Feb 2011 02:20:23 +0000 (02:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37596 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/src/client/CMakeLists.txt

index 90b407ce58fa48f445324f43ee8209a41c71172e..ce1d9faa21d7cafb779cabc6e1f10c4cdcd62145 100644 (file)
@@ -19,6 +19,10 @@ include_directories(BEFORE
        "${TOP_SRC_DIR}/boost" 
        ${ZLIB_INCLUDE_DIR})
 
+if(LYX_MERGE_FILES)
+       set(_lyxclient_sources ${_lyxclient_sources} ${TOP_SRC_DIR}/src/TexRow.cpp)
+endif()
+
 add_executable(${_lyxclient} ${_lyxclient_sources} ${_lyxclient_headers})
 
 target_link_libraries(${_lyxclient}