mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 09:59:06 +08:00
36b16d365b
* [maddy] New port * format manifest * update version database
23 lines
560 B
CMake
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}"
|
|
)
|