2024-06-15 02:33:52 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO btzy/nativefiledialog-extended
|
|
|
|
REF v${VERSION}
|
2024-07-10 01:05:11 +08:00
|
|
|
SHA512 B07231484C805AC1F96F49070E2A92B624B4FDB10C534482AF7484E23222ACAB5B2F1461B776CA892573D6930372518816155F604CA5DD12CFFEA5605D107758
|
2024-06-15 02:33:52 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DNFD_BUILD_TESTS=OFF
|
|
|
|
-DNFD_PORTAL=ON
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME nfd CONFIG_PATH lib/cmake/nfd)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|