]> git.lyx.org Git - features.git/blobdiff - src/CMakeLists.txt
Cmake build:
[features.git] / src / CMakeLists.txt
index 5862136f017521e36c8bd68b13f6eab9e7a13300..dd93a0ae70d6423cd22d00dc7dbe8f85d1dc29cd 100644 (file)
@@ -116,6 +116,7 @@ add_executable(${_lyx}
        ${OSX_BUNDLE_FILES}
 )
 
+add_dependencies(${_lyx} lyx_version)
 
 lyx_add_gcc_pch(${_lyx})
 
@@ -126,12 +127,11 @@ target_link_libraries(${_lyx}
        frontend_qt4
        graphics
        support
-       ${LIBINTL_LIBRARIES}
+       ${intl_link}
        ${ICONV_LIBRARY}
        ${QT_QTMAIN_LIBRARY}
        ${vld_dll})
 
-
 if(HUNSPELL_FOUND)
        target_link_libraries(${_lyx} ${HUNSPELL_LIBRARY})
 endif()