]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/CMakeLists.txt
Cmake export tests: Added sublabel handling also to revertedTests
[lyx.git] / src / mathed / CMakeLists.txt
index 55dd303795639b09b0b8abfe1baae6e884991e52..8d354f6a133e35ae3caf545868325f0b31186ad5 100644 (file)
@@ -10,12 +10,11 @@ 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)
+       ${TOP_SRC_DIR}/src/mathed/InsetMathXYArrow.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})
@@ -23,6 +22,8 @@ else()
        lyx_const_touched_files(_allinone  mathed_sources)
        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)