mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 17:40:26 +08:00
001df4c9e8
* [mongoose] Add new port * [mongoose] About UWP * [mongoose] Take advantage of cmake 3.14 improvements
21 lines
564 B
CMake
21 lines
564 B
CMake
cmake_minimum_required(VERSION 3.14)
|
|
|
|
project(mongoose C)
|
|
|
|
include(GNUInstallDirs)
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
add_library(mongoose mongoose.c)
|
|
target_include_directories(mongoose PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
|
|
set_target_properties(mongoose PROPERTIES PUBLIC_HEADER mongoose.h)
|
|
|
|
install(TARGETS mongoose EXPORT unofficial-mongoose-config)
|
|
|
|
install(
|
|
EXPORT unofficial-mongoose-config
|
|
NAMESPACE unofficial::mongoose::
|
|
DESTINATION share/unofficial-mongoose
|
|
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
|
|
)
|