]> git.lyx.org Git - features.git/blobdiff - src/tex2lyx/CMakeLists.txt
Cmake build:
[features.git] / src / tex2lyx / CMakeLists.txt
index 00a577f323af8759124cf86076343a64bd8df662..2053e303909f828c497d0a81b17e19f66a625f17 100644 (file)
@@ -49,9 +49,12 @@ target_link_libraries(${_tex2lyx}
        support
        ${Lyx_Boost_Libraries}
        ${QT_QTCORE_LIBRARY}
-       ${LIBINTL_LIBRARIES}
+       ${QT_QTGUI_LIBRARY}
+       ${intl_link}
        ${ICONV_LIBRARY})
 
+add_dependencies(${_tex2lyx} lyx_version)
+
 if(WIN32)
        target_link_libraries(${_tex2lyx} shlwapi ole32 psapi)
 endif()
@@ -63,6 +66,8 @@ endif()
 
 project_source_group("${GROUP_CODE}" tex2lyx_sources tex2lyx_headers)
 
+add_subdirectory(test)
+
 if(LYX_BUNDLE)
        install(TARGETS ${_tex2lyx}
                RUNTIME DESTINATION bin