mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 13:13:34 +08:00
[dlib] Add dependencies on system copies of jpeg, sqlite, png, and fftw
This commit is contained in:
parent
e812f4bfcc
commit
8a3b55f2d7
@ -1,3 +1,4 @@
|
||||
Source: dlib
|
||||
Version: 19.4
|
||||
Version: 19.4-1
|
||||
Build-Depends: libjpeg-turbo, libpng, sqlite3, fftw3
|
||||
Description: Modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++
|
||||
|
@ -13,13 +13,20 @@ vcpkg_download_distfile(ARCHIVE
|
||||
SHA512 c5ae22c507b57a13d880d79e9671730829114d0276508b0a41b373d3abae9057d960fce84fafe1be468d943910853baaa70c88f2516e20a0c41f3895bf217f7b
|
||||
)
|
||||
vcpkg_extract_source_archive(${ARCHIVE})
|
||||
file(REMOVE_RECURSE ${SOURCE_PATH}/dlib/external/libjpeg)
|
||||
file(REMOVE_RECURSE ${SOURCE_PATH}/dlib/external/libpng)
|
||||
file(REMOVE_RECURSE ${SOURCE_PATH}/dlib/external/zlib)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
|
||||
OPTIONS
|
||||
-DDLIB_LINK_WITH_SQLITE3=ON
|
||||
-DDLIB_USE_FFTW=ON
|
||||
#-DDLIB_USE_CUDA=ON
|
||||
OPTIONS_DEBUG
|
||||
-DDLIB_ENALE_ASSERTS=ON
|
||||
-DDLIB_ENABLE_ASSERTS=ON
|
||||
#-DDLIB_ENABLE_STACK_TRACE=ON
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
Loading…
Reference in New Issue
Block a user