1 include("${TURF_ROOT}/cmake/Macros.cmake")
3 find_path(TERVEL_ROOT NAMES tervel/containers/wf/hash-map/wf_hash_map.h PATHS
7 set(TERVEL_INCLUDE_DIRS ${TERVEL_ROOT})
8 GetFilesWithSourceGroups(GLOB_RECURSE TERVEL_FILES ${TERVEL_ROOT} ${TERVEL_ROOT}/tervel/containers/* ${TERVEL_ROOT}/tervel/util/*)
9 # FIXME: This is hacky because it relies on inheriting the same include_directories() as Junction
10 add_library(Tervel ${TERVEL_FILES})
11 set(TERVEL_LIBRARIES Tervel)
13 message("Can't find Tervel!")
14 if(Tervel_FIND_REQUIRED)
15 message(FATAL_ERROR "Missing required package Tervel")