X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FCMakeLists.txt;h=c47ca6b0a6de607f5d7c61d5644aaa755e2b82a4;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=8a3cf3615446ddb853d9de91f6093b6261b24d99;hpb=0cd8c03d17b00cfd0ed9403205abbe2c112855ae;p=lyx.git diff --git a/src/mathed/CMakeLists.txt b/src/mathed/CMakeLists.txt index 8a3cf36154..c47ca6b0a6 100644 --- a/src/mathed/CMakeLists.txt +++ b/src/mathed/CMakeLists.txt @@ -9,13 +9,9 @@ project(mathed) file(GLOB mathed_sources ${TOP_SRC_DIR}/src/mathed/${LYX_CPP_FILES}) file(GLOB mathed_headers ${TOP_SRC_DIR}/src/mathed/${LYX_HPP_FILES}) -list(REMOVE_ITEM mathed_sources - ${TOP_SRC_DIR}/src/mathed/InsetMathXYArrow.cpp - ${TOP_SRC_DIR}/src/mathed/InsetFormulaMacro.cpp) - 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}) @@ -24,6 +20,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)