aboutsummaryrefslogtreecommitdiff
path: root/ports/plibsys
diff options
context:
space:
mode:
authornicole mazzuca <mazzucan@outlook.com>2020-07-02 11:00:28 -0700
committerGitHub <noreply@github.com>2020-07-02 11:00:28 -0700
commitef91134964e8ddec77cd0db8943b72e0eaac2ef7 (patch)
tree469e68094f10d9d41629e66146ddf285fc02d65a /ports/plibsys
parent77617e31e31189467823fd83a76d8022f3158935 (diff)
downloadvcpkg-ef91134964e8ddec77cd0db8943b72e0eaac2ef7.tar.gz
vcpkg-ef91134964e8ddec77cd0db8943b72e0eaac2ef7.zip
[cmocka libarchive libiconv libpq libxml2 plibsys] fix drive-by error in vcpkg-cmake-wrappers (#12196)
* fix drive-by error in vcpkg-cmake-wrappers * rev port versions
Diffstat (limited to 'ports/plibsys')
-rw-r--r--ports/plibsys/CONTROL3
-rw-r--r--ports/plibsys/vcpkg-cmake-wrapper.cmake4
2 files changed, 4 insertions, 3 deletions
diff --git a/ports/plibsys/CONTROL b/ports/plibsys/CONTROL
index 5df1c89ed..dec1285c9 100644
--- a/ports/plibsys/CONTROL
+++ b/ports/plibsys/CONTROL
@@ -1,5 +1,6 @@
Source: plibsys
-Version: 0.0.4-3
+Version: 0.0.4
+Port-Version: 4
Homepage: https://github.com/saprykin/plibsys
Description: Highly portable C system library: threads and synchronization, sockets, IPC, data structures and more.
Supports: !uwp
diff --git a/ports/plibsys/vcpkg-cmake-wrapper.cmake b/ports/plibsys/vcpkg-cmake-wrapper.cmake
index 6a07624bc..acf1ac9f8 100644
--- a/ports/plibsys/vcpkg-cmake-wrapper.cmake
+++ b/ports/plibsys/vcpkg-cmake-wrapper.cmake
@@ -1,7 +1,7 @@
include(FindPackageHandleStandardArgs)
include(SelectLibraryConfigurations)
-find_path(PLIBSYS_INCLUDE_DIR NAMES plibsys.h HINTS ${CURRENT_INSTALLED_DIR} PATH_SUFFIXES plibsys)
+find_path(PLIBSYS_INCLUDE_DIR NAMES plibsys.h HINTS ${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET} PATH_SUFFIXES plibsys)
find_library(PLIBSYS_LIBRARY_DEBUG NAMES plibsys plibsysstatic libplibsys NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug" NO_DEFAULT_PATH REQUIRED)
find_library(PLIBSYS_LIBRARY_RELEASE NAMES plibsys plibsysstatic libplibsys NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}" NO_DEFAULT_PATH REQUIRED)
@@ -9,4 +9,4 @@ find_library(PLIBSYS_LIBRARY_RELEASE NAMES plibsys plibsysstatic libplibsys NAME
select_library_configurations(PLIBSYS)
set(PLIBSYS_INCLUDE_DIRS ${PLIBSYS_INCLUDE_DIR})
-set(PLIBSYS_LIBRARIES ${PLIBSYS_LIBRARY}) \ No newline at end of file
+set(PLIBSYS_LIBRARIES ${PLIBSYS_LIBRARY})