1 cmake_minimum_required(VERSION 3.1)
4 set(SRCDIR ${CMAKE_CURRENT_SOURCE_DIR}/${VERSION})
6 file(GLOB support_mythes_sources ${SRCDIR}/*.cxx)
7 file(GLOB support_mythes_headers ${SRCDIR}/*.hxx)
9 include_directories(${VERSION})
11 #============================================================================
13 #============================================================================
15 add_library(mytheslibstatic STATIC ${support_mythes_sources} ${support_mythes_headers} )
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 )
22 set_target_properties(mytheslibstatic PROPERTIES FOLDER "3rd_party")