cmake_minimum_required(VERSION 3.20) project(ternarytrie C) set(CMAKE_C_STANDARD 17) add_library(ternarytrie STATIC src/ternarytrie.c) target_include_directories( ternarytrie PUBLIC $ )