diff --git a/development/cmake/src/CMakeLists.txt b/development/cmake/src/CMakeLists.txt index 08043da04a..6965d68da4 100644 --- a/development/cmake/src/CMakeLists.txt +++ b/development/cmake/src/CMakeLists.txt @@ -35,7 +35,7 @@ if (ASPELL_FOUND) endif() include_directories(${CMAKE_CURRENT_BINARY_DIR} - ${ZLIB_INCLUDE_DIR}) + ${ZLIB_INCLUDE_DIR} ${QT_INCLUDES}) lyx_add_msvc_pch(lyx) diff --git a/development/cmake/src/insets/CMakeLists.txt b/development/cmake/src/insets/CMakeLists.txt index c86faf58d0..380eebf68a 100644 --- a/development/cmake/src/insets/CMakeLists.txt +++ b/development/cmake/src/insets/CMakeLists.txt @@ -13,7 +13,7 @@ list(REMOVE_ITEM insets_sources ${TOP_SRC_DIR}/src/insets/InsetTheorem.cpp) lyx_add_msvc_pch(insets) -include_directories(${TOP_SRC_DIR}/src/insets) +include_directories(${TOP_SRC_DIR}/src/insets ${QT_INCLUDES}) if(NOT MERGE_FILES)