]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/CMakeLists.txt
On Mac, moving down a paragraph should place the cursor at the end of the current...
[lyx.git] / src / frontends / qt4 / CMakeLists.txt
index 44ddaad2c98cb1ef2184c7fd976a3b04bfe3e57f..14283ea0b2f63f99d1085c7d7373398ba2ce5268 100644 (file)
@@ -30,10 +30,10 @@ add_custom_command(
                -DIMAGES_DIR=${TOP_SRC_DIR}/lib/images
                -DRESOURCE_NAME=${resource_name}
                -DMAPPED_DIR=${TOP_SRC_DIR}/lib/
-               -P ${TOP_SRC_DIR}/development/cmake/modules/LyXCreateImagesResource.cmake
+               -P ${TOP_SCRIPT_PATH}/LyXCreateImagesResource.cmake
        )
 
-qt4_add_resources(resource_files ${resource_name})
+qt_add_resources(resource_files ${resource_name})
 
 add_definitions(-DQT_GENUINE_STR -DLYX_BUILD_QT4_FRONTEND)
 
@@ -52,8 +52,9 @@ if(LYX_MERGE_FILES)
 else()
        add_library(frontend_qt4 ${library_type} ${frontends_qt4_sources} ${frontends_qt4_headers} ${ui_files} ${resource_files})
 endif()
+set_target_properties(frontend_qt4 PROPERTIES FOLDER "applications/LyX")
 
-
+qt_use_modules(frontend_qt4 Core Gui Widgets Concurrent)
 target_link_libraries(frontend_qt4
        frontends
        ${QT_QTCORE_LIBRARY}