"${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}
${Lyx_Boost_Libraries}
${ICONV_LIBRARY}
${QT_QTCORE_LIBRARY}
- ${QT_QTGUI_LIBRARY}
- ${Magic_LIBRARY})
+ ${QT_QTGUI_LIBRARY})
-if(ASPELL_FOUND)
- target_link_libraries(${_lyxclient} ${ASPELL_LIBRARY})
-endif()
+lyx_target_link_libraries(${_lyxclient} Magic ASPELL)
if(APPLE)
target_link_libraries(${_lyxclient} "-framework AppKit")
endif()
+if(CYGWIN)
+ target_link_libraries(${_lyxclient} shlwapi)
+endif()
+
install(TARGETS ${_lyxclient} DESTINATION ${LYX_UTILITIES_INSTALL_PATH})