]> git.lyx.org Git - lyx.git/blob - 3rdparty/mythes/CMakeLists.txt
Append rows and columns if necessary when pasting into table
[lyx.git] / 3rdparty / mythes / CMakeLists.txt
1 cmake_minimum_required(VERSION 3.1)
2
3 if (POLICY CMP0069)
4   cmake_policy(SET CMP0069 NEW)
5 endif()
6
7 set(VERSION "1.2.5")
8 set(SRCDIR ${CMAKE_CURRENT_SOURCE_DIR}/${VERSION})
9
10 file(GLOB support_mythes_sources ${SRCDIR}/*.cxx)
11 file(GLOB support_mythes_headers ${SRCDIR}/*.hxx)
12
13 include_directories(${VERSION})
14
15 #============================================================================
16 # lyxmytheslib
17 #============================================================================
18
19 add_library(mytheslibstatic STATIC ${support_mythes_sources} ${support_mythes_headers} )
20
21
22 set(MYTHESLIB_LIBRARY mytheslibstatic CACHE STRING "Mytheslib library" FORCE)
23 set(MYTHESLIB_INCLUDE_DIR  ${SRCDIR} CACHE STRING "Mytheslib include dir" FORCE)
24 set(MYTHESLIB_FOUND CACHE STRING "Mytheslib found" FORCE )
25
26 set_target_properties(mytheslibstatic PROPERTIES FOLDER "3rd_party")