2019-04-15 19:21:25 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO skystrife/cpptoml
|
2023-08-03 02:00:20 +08:00
|
|
|
REF fededad7169e538ca47e11a9ee9251bc361a9a65
|
|
|
|
SHA512 2ec50f4585bca33bb343170470048a7d7e7902f1ffa5709cf84ddf9f53a899ff1cc9ffa49e059f6dad93d13823c4d2661bc8109e4356078cdbdfef1a2be6a622
|
2019-04-15 19:21:25 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2023-01-05 06:09:33 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DCPPTOML_BUILD_EXAMPLES=OFF
|
2023-08-03 02:00:20 +08:00
|
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
|
2023-01-05 06:09:33 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
2019-04-15 19:21:25 +08:00
|
|
|
|
2023-01-05 06:09:33 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|