mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-03 20:08:24 -05:00
17 lines
452 B
CMake
Executable File
17 lines
452 B
CMake
Executable File
cmake_minimum_required(VERSION 3.11)
|
|
project(nanosvg NONE)
|
|
|
|
set(NANOSVG_HEADERS src/nanosvg.h src/nanosvgrast.h)
|
|
add_library(nanosvg INTERFACE)
|
|
|
|
set_target_properties(nanosvg PROPERTIES PUBLIC_HEADER "${NANOSVG_HEADERS}")
|
|
|
|
install(TARGETS nanosvg
|
|
EXPORT nanosvgTargets
|
|
PUBLIC_HEADER DESTINATION include)
|
|
|
|
install(EXPORT nanosvgTargets
|
|
FILE unofficial-nanosvg-config.cmake
|
|
NAMESPACE unofficial::nanosvg::
|
|
DESTINATION share/unofficial-nanosvg)
|