From 0a2c70636a49eb1b2457d29b05d9c4ee5bcc2843 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Wed, 12 Dec 2012 20:42:58 +0100 Subject: [PATCH] Cmake build: Make PreviewLoader.cpp compilable again --- src/graphics/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/graphics/CMakeLists.txt b/src/graphics/CMakeLists.txt index 56daf64b08..e2c0a9a5ea 100644 --- a/src/graphics/CMakeLists.txt +++ b/src/graphics/CMakeLists.txt @@ -12,7 +12,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) +include_directories(${TOP_SRC_DIR}/src/graphics + ${QT_INCLUDES} +) if(NOT LYX_MERGE_FILES) add_library(graphics ${library_type} ${graphics_sources} ${graphics_headers}) -- 2.39.2