]> git.lyx.org Git - lyx.git/blobdiff - src/CMakeLists.txt
sk.po update
[lyx.git] / src / CMakeLists.txt
index 4b86fdc4265b487d8806476283fd3f35eefc587d..5203d45c516a4a1e66daec5607ddf07c09519e36 100644 (file)
@@ -8,6 +8,9 @@ project(${_lyx})
 
 include_directories(${TOP_SRC_DIR}/src)
 
+set_property(GLOBAL PROPERTY USE_FOLDERS ON)
+set_property(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER "CMakeTargets")
+
 add_subdirectory(frontends)
 add_subdirectory(graphics)
 add_subdirectory(insets)
@@ -118,6 +121,10 @@ add_executable(${_lyx}
 
 add_dependencies(${_lyx} lyx_version)
 
+set_target_properties(${_lyx} PROPERTIES FOLDER "applications/LyX")
+
+qt_use_modules(${_lyx} Core Gui)
+
 lyx_add_gcc_pch(${_lyx})
 
 target_link_libraries(${_lyx}
@@ -127,7 +134,6 @@ target_link_libraries(${_lyx}
        frontend_qt4
        graphics
        support
-       ${intl_link}
        ${ICONV_LIBRARY}
        ${QT_QTMAIN_LIBRARY}
        ${vld_dll})
@@ -178,3 +184,4 @@ if(LYX_BUNDLE)
                        fixup_bundle(\"${installed_lyx}\" \"\" \"\") " COMPONENT RUNTIME)
 endif()
 
+add_subdirectory(tests)