mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 10:05:19 +08:00
20 lines
485 B
CMake
20 lines
485 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
project(parson C)
|
|
|
|
add_library(parson parson.c)
|
|
target_include_directories(parson PUBLIC $<INSTALL_INTERFACE:include>)
|
|
|
|
install(TARGETS parson
|
|
EXPORT unofficial-parson-targets
|
|
RUNTIME DESTINATION bin
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib
|
|
)
|
|
|
|
install(
|
|
EXPORT unofficial-parson-targets
|
|
FILE unofficial-parson-config.cmake
|
|
NAMESPACE unofficial::parson::
|
|
DESTINATION share/unofficial-parson
|
|
)
|