pineapple/externals/vcpkg/ports/parson/CMakeLists.txt
2022-07-23 03:01:36 +02:00

19 lines
485 B
CMake
Executable file

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
)