]> git.lyx.org Git - lyx.git/blobdiff - src/support/CMakeLists.txt
Fix 'Export As...' in non-English localizations
[lyx.git] / src / support / CMakeLists.txt
index 3226201b185220515e114d3b5175b1481a48fbf3..9e748f8127ae918bfe3f97c295bf4bd0a7297293 100644 (file)
@@ -27,8 +27,6 @@ list(REMOVE_ITEM support_sources
        ${TOP_SRC_DIR}/src/support/os_unix.cpp
        ${TOP_SRC_DIR}/src/support/os_cygwin.cpp
        ${TOP_SRC_DIR}/src/support/os_os2.C
-       ${TOP_SRC_DIR}/src/support/atexit.c
-       ${TOP_SRC_DIR}/src/support/strerror.c
        ${TOP_SRC_DIR}/src/support/gettext.cpp)
 
 if(APPLE)
@@ -53,8 +51,7 @@ include_directories(
        ${TOP_SRC_DIR}/src/support/mythes
        ${QT_INCLUDES}
        ${ICONV_INCLUDE_DIR}
-       ${ZLIB_INCLUDE_DIR}
-       ${LIBINTL_INCLUDE_DIR})
+       ${ZLIB_INCLUDE_DIR})
 
 
 if(NOT LYX_MERGE_FILES)
@@ -76,6 +73,8 @@ else()
 endif()
 set_target_properties(support PROPERTIES FOLDER "applications/LyX")
 
+qt_use_modules(support Core)
+
 target_link_libraries(support ${Lyx_Boost_Libraries} ${QT_QTCORE_LIBRARY} ${ZLIB_LIBRARY})
 
 lyx_add_gcc_pch(support)