summaryrefslogtreecommitdiffstats
path: root/externals/inih/CMakeLists.txt
blob: ebb60a976e473b66e90bd2ed3960977a47ad3acd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# SPDX-FileCopyrightText: 2014 Gui Andrade <admin@archshift.com>
# SPDX-License-Identifier: GPL-2.0-or-later

add_library(inih
    inih/ini.c
    inih/ini.h
    inih/cpp/INIReader.cpp
    inih/cpp/INIReader.h
)

create_target_directory_groups(inih)
target_include_directories(inih INTERFACE inih/cpp)
add_library(inih::INIReader ALIAS inih)