mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
[libimobiledevice]Fix build.
This commit is contained in:
parent
69c0cc89d6
commit
98f1a953e6
@ -7,19 +7,15 @@ find_library(libusbmuxd usbmuxd REQUIRED)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
find_path(dirent_INCLUDE_DIR dirent.h)
|
||||
if (WIN32)
|
||||
find_library(getopt getopt REQUIRED)
|
||||
find_library(getopt getopt REQUIRED)
|
||||
endif()
|
||||
|
||||
#prepare config files
|
||||
configure_file(config.h.in config.h @ONLY)
|
||||
|
||||
# ready to create library
|
||||
file(GLOB_RECURSE IMOBDEV_COMMON_HDR common/*.h)
|
||||
file(GLOB_RECURSE IMOBDEV_COMMON_SRC common/*.c)
|
||||
|
||||
file(GLOB IMOBDEV_PUBLIC_HDR include/*.h)
|
||||
file(GLOB IMOBDEV_PUBLIC_SUB_HDR include/libimobiledevice/*.h)
|
||||
list(APPEND IMOBDEV_PUBLIC_HDR ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||
file(GLOB_RECURSE IMOBDEV_PRIVATE_HDR src/*.h)
|
||||
file(GLOB_RECURSE IMOBDEV_SRC src/*.c)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user