]> git.lyx.org Git - lyx.git/blob - 3rdparty/mythes/CMakeLists.txt
Typo: Copy/Paste error
[lyx.git] / 3rdparty / mythes / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.8)
2
3 set(VERSION "1.2.5")
4 set(SRCDIR ${CMAKE_CURRENT_SOURCE_DIR}/${VERSION})
5
6 file(GLOB support_mythes_sources ${SRCDIR}/*.cxx)
7 file(GLOB support_mythes_headers ${SRCDIR}/*.hxx)
8
9 include_directories(${VERSION})
10
11 #============================================================================
12 # lyxmytheslib
13 #============================================================================
14
15 add_library(mytheslibstatic STATIC ${support_mythes_sources} ${support_mythes_headers} )
16
17
18 set(MYTHESLIB_LIBRARY mytheslibstatic CACHE STRING "Mytheslib library" FORCE)
19 set(MYTHESLIB_INCLUDE_DIR  ${SRCDIR} CACHE STRING "Mytheslib include dir" FORCE)
20 set(MYTHESLIB_FOUND CACHE STRING "Mytheslib found" FORCE )
21
22 set_target_properties(mytheslibstatic PROPERTIES FOLDER "3rd_party")