mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 09:29:10 +08:00
24 lines
632 B
CMake
24 lines
632 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO btzy/nativefiledialog-extended
|
|
REF v${VERSION}
|
|
SHA512 B07231484C805AC1F96F49070E2A92B624B4FDB10C534482AF7484E23222ACAB5B2F1461B776CA892573D6930372518816155F604CA5DD12CFFEA5605D107758
|
|
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")
|