[simpleini] Install missing code (#9429)

This commit is contained in:
Jack·Boos·Yu 2020-01-03 05:27:31 +08:00 committed by dan-shaw
parent 8cab87ed93
commit c7dfd5f83f
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,4 @@
Source: simpleini
Version: 2018-08-31-3
Version: 2018-08-31-4
Homepage: https://github.com/brofield/simpleini
Description: Cross-platform C++ library providing a simple API to read and write INI-style configuration files

View File

@ -7,6 +7,14 @@ vcpkg_from_github(
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/SimpleIni.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Install codes
set(SIMPLEINI_SOURCE ${SOURCE_PATH}/SimpleIni.h
${SOURCE_PATH}/ConvertUTF.h
${SOURCE_PATH}/ConvertUTF.c
)
file(INSTALL ${SIMPLEINI_SOURCE} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Install sample
file(INSTALL ${SOURCE_PATH}/snippets.cpp DESTINATION ${CURRENT_PACKAGES_DIR}/share/sample)
file(INSTALL ${SOURCE_PATH}/LICENCE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)