1 cmake_minimum_required(VERSION 3.1)
4 cmake_policy(SET CMP0069 NEW)
8 set(SRCDIR ${CMAKE_CURRENT_SOURCE_DIR}/${VERSION})
10 file(GLOB support_mythes_sources ${SRCDIR}/*.cxx)
11 file(GLOB support_mythes_headers ${SRCDIR}/*.hxx)
13 include_directories(${VERSION})
15 #============================================================================
17 #============================================================================
19 add_library(mytheslibstatic STATIC ${support_mythes_sources} ${support_mythes_headers} )
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 )
26 set_target_properties(mytheslibstatic PROPERTIES FOLDER "3rd_party")