aboutsummaryrefslogtreecommitdiff
path: root/ports/gettimeofday
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-01-07 03:10:10 +0800
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2020-01-06 11:10:10 -0800
commit683de114177dfd30eed9058bc1f78857018fa806 (patch)
tree1e2cfc48a0b4e3297728f2c807c9a7f25feb0b59 /ports/gettimeofday
parent9bd91cbebe13d7855595185cd44d0c9ea9049763 (diff)
downloadvcpkg-683de114177dfd30eed9058bc1f78857018fa806.tar.gz
vcpkg-683de114177dfd30eed9058bc1f78857018fa806.zip
[check/gettimeofday] Move static libraries to manual-link. (#9510)
Diffstat (limited to 'ports/gettimeofday')
-rw-r--r--ports/gettimeofday/CMakeLists.txt4
-rw-r--r--ports/gettimeofday/CONTROL2
-rw-r--r--ports/gettimeofday/portfile.cmake4
3 files changed, 4 insertions, 6 deletions
diff --git a/ports/gettimeofday/CMakeLists.txt b/ports/gettimeofday/CMakeLists.txt
index 4ec5b43a0..1f8d891ae 100644
--- a/ports/gettimeofday/CMakeLists.txt
+++ b/ports/gettimeofday/CMakeLists.txt
@@ -5,8 +5,8 @@ add_library(gettimeofday gettimeofday.c gettimeofday.def)
install(TARGETS gettimeofday
RUNTIME DESTINATION bin
- ARCHIVE DESTINATION lib
- LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib/manual-link
+ LIBRARY DESTINATION lib/manual-link
)
if(CMAKE_BUILD_TYPE STREQUAL "Release")
diff --git a/ports/gettimeofday/CONTROL b/ports/gettimeofday/CONTROL
index 3ae7e0682..d1b85e05f 100644
--- a/ports/gettimeofday/CONTROL
+++ b/ports/gettimeofday/CONTROL
@@ -1,3 +1,3 @@
Source: gettimeofday
-Version: 2017-10-14-2
+Version: 2017-10-14-3
Description: An implementation of gettimeofday for WIN32
diff --git a/ports/gettimeofday/portfile.cmake b/ports/gettimeofday/portfile.cmake
index 51c88c989..0d08bacc8 100644
--- a/ports/gettimeofday/portfile.cmake
+++ b/ports/gettimeofday/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_configure_cmake(
SOURCE_PATH ${CMAKE_CURRENT_LIST_DIR}
PREFER_NINJA
@@ -8,4 +6,4 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_copy_pdbs()
-file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/gettimeofday RENAME copyright)
+file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)