1# Copyright 2019, Data61 2# Commonwealth Scientific and Industrial Research Organisation (CSIRO) 3# ABN 41 687 119 230. 4# 5# This software may be distributed and modified according to the terms of 6# the BSD 2-Clause license. Note that NO WARRANTY is provided. 7# See "LICENSE_BSD2.txt" for details. 8# 9# @TAG(DATA61_BSD) 10# 11 12cmake_minimum_required(VERSION 3.7.2) 13 14project(libfdt C) 15 16file(GLOB deps *.c) 17list(SORT deps) 18 19add_library(fdt STATIC EXCLUDE_FROM_ALL ${deps}) 20target_include_directories(fdt PUBLIC include ".") 21target_link_libraries(fdt muslc) 22