]> git.lyx.org Git - features.git/blobdiff - src/CMakeLists.txt
Fix compilation
[features.git] / src / CMakeLists.txt
index 4b86fdc4265b487d8806476283fd3f35eefc587d..490990bcad29351b835d5f7c47b7778489f4d5c6 100644 (file)
@@ -6,7 +6,10 @@
 
 project(${_lyx})
 
-include_directories(${TOP_SRC_DIR}/src)
+include_directories(${TOP_SRC_DIR}/src ${QT_INCLUDES})
+
+set_property(GLOBAL PROPERTY USE_FOLDERS ON)
+set_property(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER "CMakeTargets")
 
 add_subdirectory(frontends)
 add_subdirectory(graphics)
@@ -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}
@@ -178,3 +185,4 @@ if(LYX_BUNDLE)
                        fixup_bundle(\"${installed_lyx}\" \"\" \"\") " COMPONENT RUNTIME)
 endif()
 
+add_subdirectory(tests)