Cmake build: Adapt to compile after 0213e7b5c6

This commit is contained in:
Kornel Benko 2015-06-10 21:53:10 +02:00
parent 0213e7b5c6
commit 19c7902b53
2 changed files with 4 additions and 1 deletions

View File

@ -11,8 +11,9 @@ file(GLOB graphics_headers ${TOP_SRC_DIR}/src/graphics/${LYX_HPP_FILES})
lyx_add_msvc_pch(graphics)
include_directories(${TOP_SRC_DIR}/src/graphics)
lyx_automoc(${TOP_SRC_DIR}/src/graphics/PreviewLoader.cpp)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
if(NOT LYX_MERGE_FILES)
add_library(graphics ${library_type} ${graphics_sources} ${graphics_headers})
@ -21,6 +22,7 @@ else()
add_library(graphics ${library_type} ${_allinone_files})
endif()
set_target_properties(graphics PROPERTIES FOLDER "applications/LyX")
qt_use_modules(graphics Core)
lyx_add_gcc_pch(graphics)

View File

@ -23,6 +23,7 @@ else()
add_library(mathed ${library_type} ${_allinone_files})
endif()
set_target_properties(mathed PROPERTIES FOLDER "applications/LyX")
qt_use_modules(mathed Core)
lyx_add_gcc_pch(mathed)