include_directories(BEFORE
"${TOP_SRC_DIR}/src/client"
"${TOP_SRC_DIR}/boost"
- ${ZLIB_INCLUDE_DIR}
- ${LIBINTL_INCLUDE_DIR})
+ ${ZLIB_INCLUDE_DIR})
if(LYX_MERGE_FILES)
set(_lyxclient_sources ${_lyxclient_sources} ${TOP_SRC_DIR}/src/TexRow.cpp)
target_link_libraries(${_lyxclient}
support
${Lyx_Boost_Libraries}
- ${LIBINTL_LIBRARIES}
${ICONV_LIBRARY}
${QT_QTCORE_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 Carbon")
+ target_link_libraries(${_lyxclient} "-framework AppKit")
endif()
-if(NOT LYX_EXTERNAL_LIBINTL OR WIN32)
- target_link_libraries(${_lyxclient} intl)
- add_dependencies(${_lyxclient} intl_target)
+if(CYGWIN)
+ target_link_libraries(${_lyxclient} shlwapi)
endif()
-install(TARGETS ${_lyxclient} DESTINATION bin)
+install(TARGETS ${_lyxclient} DESTINATION ${LYX_UTILITIES_INSTALL_PATH})