pineapple/externals/vcpkg/ports/parson/CMakeLists.txt

20 lines
485 B
Text
Raw Normal View History

2022-07-23 03:01:36 +02:00
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
)