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)
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}