Fix building with cmake and Qt4

This commit is contained in:
Enrico Forestieri 2015-06-11 00:09:31 +02:00
parent 19c7902b53
commit dd62e0594c
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ 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})
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${QT_INCLUDES})
if(NOT LYX_MERGE_FILES)
add_library(graphics ${library_type} ${graphics_sources} ${graphics_headers})

View File

@ -14,7 +14,7 @@ list(REMOVE_ITEM mathed_sources
lyx_add_msvc_pch(mathed)
include_directories(${TOP_SRC_DIR}/src/mathed)
include_directories(${TOP_SRC_DIR}/src/mathed ${QT_INCLUDES})
if(NOT LYX_MERGE_FILES)
add_library(mathed ${library_type} ${mathed_sources} ${mathed_headers})