vcpkg/ports/maddy/CMakeLists.txt
xiaozhuai, Weihang Ding 36b16d365b
[maddy] New port (#30397)
* [maddy] New port

* format manifest

* update version database
2023-03-27 11:54:27 -07:00

23 lines
560 B
CMake

cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
project(maddy LANGUAGES CXX)
include(GNUInstallDirs)
add_library(maddy INTERFACE)
target_include_directories(maddy INTERFACE $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
install(TARGETS maddy EXPORT unofficial-maddy)
install(
EXPORT unofficial-maddy
FILE unofficial-maddy-config.cmake
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/unofficial-maddy"
NAMESPACE unofficial::maddy::
)
install(
DIRECTORY "${CMAKE_SOURCE_DIR}/include/maddy"
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
)