mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 06:37:51 +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 2cdcf5563cadc53d22ac1e5741dd685b9763c3cd3bda70f36588db915c3272c4ee9ddfa27c09615b1b86c1aaf0711dfbf86b21eb4332eece43db80c33c38e090
|
||
|
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")
|