summaryrefslogtreecommitdiff
path: root/src/contrib/tinydir-1.2.4/CMakeLists.txt
blob: 7d83854624ed1b4c7661e9d7bbb2eb9d3202bf39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cmake_minimum_required(VERSION 3.0)

project(tinydir)

set(CMAKE_C_STANDARD 17)
set(CMAKE_C_STANDARD_REQUIRED On)
set(CMAKE_C_EXTENSIONS Off)

add_library(tinydir INTERFACE
  tinydir.h)

target_include_directories(tinydir INTERFACE
  .)

target_compile_options(tinydir INTERFACE -Wall -Wextra -Wpedantic)