aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackBoosY <yuzaiyang@beyondsoft.com>2019-10-31 21:45:40 -0700
committerJackBoosY <yuzaiyang@beyondsoft.com>2019-10-31 21:45:45 -0700
commit98f1a953e6c6bde9941cc930bd9cfdb392e4ec15 (patch)
treed380224b7b14e6378078894cb30b4120bfaee098
parent69c0cc89d65a07748c9a307b4d89b016b76d2b49 (diff)
downloadvcpkg-98f1a953e6c6bde9941cc930bd9cfdb392e4ec15.tar.gz
vcpkg-98f1a953e6c6bde9941cc930bd9cfdb392e4ec15.zip
[libimobiledevice]Fix build.
-rw-r--r--ports/libimobiledevice/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/ports/libimobiledevice/CMakeLists.txt b/ports/libimobiledevice/CMakeLists.txt
index c5fb4a3c9..da7ff6ef0 100644
--- a/ports/libimobiledevice/CMakeLists.txt
+++ b/ports/libimobiledevice/CMakeLists.txt
@@ -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)