1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
4 # Copyright (c) 2008, Peter Kümmel, <syntheticpp@gmx.net>
5 # , Kornel Benko, <Kornel.Benko@berlin.de>
10 file(GLOB _lyxclient_sources ${TOP_SRC_DIR}/src/client/*.cpp)
11 file(GLOB _lyxclient_headers ${TOP_SRC_DIR}/src/client/*.h)
12 list(REMOVE_ITEM _lyxclient_headers "${TOP_SRC_DIR}/src/client/pch.h")
14 include_directories(BEFORE "${TOP_SRC_DIR}/src/client"
15 "${TOP_SRC_DIR}/boost" ${ZLIB_INCLUDE_DIR})
17 add_executable(lyxclient ${_lyxclient_sources}}
18 ${_lyxclient_headers})
21 target_link_libraries(lyxclient
31 target_link_libraries(lyxclient ${ASPELL_LIBRARY})
35 target_link_libraries(lyxclient "-framework Carbon")
38 install(TARGETS lyxclient DESTINATION bin)