]> git.lyx.org Git - lyx.git/blob - src/mathed/CMakeLists.txt
Fix external middle-mouse pasting with Qt5/X11.
[lyx.git] / src / mathed / CMakeLists.txt
1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
3 #
4 # Copyright (c) 2006-2011, Peter Kümmel, <syntheticpp@gmx.net>
5 #
6
7 project(mathed)
8
9 file(GLOB mathed_sources ${TOP_SRC_DIR}/src/mathed/${LYX_CPP_FILES})
10 file(GLOB mathed_headers ${TOP_SRC_DIR}/src/mathed/${LYX_HPP_FILES})
11
12 list(REMOVE_ITEM mathed_sources
13         ${TOP_SRC_DIR}/src/mathed/InsetMathXYArrow.cpp)
14
15 lyx_add_msvc_pch(mathed)
16
17 include_directories(${TOP_SRC_DIR}/src/mathed)
18
19 if(NOT LYX_MERGE_FILES)
20         add_library(mathed ${library_type} ${mathed_sources} ${mathed_headers})
21 else()
22         lyx_const_touched_files(_allinone  mathed_sources)
23         add_library(mathed ${library_type} ${_allinone_files})
24 endif()
25 set_target_properties(mathed PROPERTIES FOLDER "applications/LyX")
26
27 lyx_add_gcc_pch(mathed)
28
29 project_source_group("${GROUP_CODE}" mathed_sources mathed_headers)
30