Commit Graph

26 Commits

Author SHA1 Message Date
Long Nguyen
fca18ba357
[zlib, libpng] Fix pkg-config for mingw (#12753)
* [zlib] Fix pkg-config for mingw

* [libpng] Fix pkg-config for mingw
2020-08-10 15:32:23 -07:00
Wolfgang Stöggl
273b5eddaa
[zlib] Add pkgconfig file (#12133)
* [zlib] Add pkgconfig file

Install the zlib.pc file, which is generated during the CMake build.
Fix the pkgconfig file under Windows, where the lib is called zlib
instead of libz and add the postfix 'd' in case of a Windows debug
build.

* Check VCPKG_BUILD_TYPE to handle release/debug

* Simplify check of VCPKG_BUILD_TYPE to handle release/debug

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update PR according to review comments

- Remove include(vcpkg_common_functions)
- Comment out vcpkg_test_cmake(PACKAGE_NAME ZLIB MODULE)

* Update ports/zlib/portfile.cmake

* Update ports/zlib/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-07-16 13:53:55 -07:00
Todor Prokopov
f478be7479
[many ports] Support building with MinGW toolchain (#8940)
* Some package fixes necessary to build with MinGW toolchain

* [libraqm] Fix build error caused by trying to write to source directory

* [tmxparser] Fix build failure when tmx port is intalled before tmxparser port

System include path was added first on compiler command line. This leads to
build failure when there is a tmx.h header file in system include path.

* [qt5-base][angle] Trigger CI rebuild

* [kd-soap] Fix build error

* Update ci.baseline

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-02-11 17:30:03 -08:00
Victor Romero
8641dfd9dd
Modify vcpkg_fixup_cmake_targets() (#5459)
* some libraries export <PackageName>LibraryDepends.cmake
instead of <PackageName>Targets.cmake.
Those file also need the fix of #1044

should close #4753

* prefered the general solution #4622.
hopefully solved the issue within #4150
replaced the regex with something more readable
(also ident is lost)

should close:
#4753
#4633
#4150
and maybe more

* Hash vcpkg_fixup_cmake_targets.cmake

* [boost] Fix use of find_package(Boost) with cache variables
[socket-io-client] Fix install

* reversed change back to use regex replace

* [glbinding] Fix _IMPORT_PREFIX depth in *-export.cmake files

* [tinyspline] Ignore warnings treated as errors

* [libevent, liblemon, libpng, smpeg2, zlib] Fix apply patches

* [libsodium] Fix apply patches

* [folly] Link correct libraries in debug and release

* [vtk] Remove unset of _IMPORT_PREFIX

* [tinyspline] Do not treat warnings as errors

* [smpeg2] Fix double* to int comparison

* [nvtt] Define value for HAVE_UNISTD_H in MacOS

* [libui] Fix MacOS X build

* [zlib] Fix download URL

* [qhull] Update to v7.2.1

* [podofo] Set value for HAVE_UNISTD_H in MacOS

* [mongo-cxx-driver,ogre,podofo,qhull] Bump CONTROL version

* [mongo-c-driver] Set _IMPORT_PREFIX

* [tmxparser] Bump CONTROL version

* [qhull,vxl] Bump CONTROL version
2019-02-28 23:53:42 -08:00
Hiroshi Miura
ab54bfa0cc [vcpkg] post-build cmake test (#3431)
* [vcpkg]  post-build cmake test

- test for applications with cmake build system
- Add a test feature to vcpkg core, make progress for #72
- Tests for zlib, bzip2, libiconv and openssl for example
- Test for curl will be failed, because of a bug #3053
  It can detect a this type of problems

* [vcpkg_test_cmake] Add MODULE parameter to explicitly specify which type of integration to test.

* [bzip2] Fix casing of cmake module name
2018-08-30 17:07:14 -07:00
past-due
71dc69e213 [zlib] Fix static build failure when VCPKG_BUILD_TYPE is set 2018-03-19 20:06:57 -04:00
Robert Schumacher
80e0648a40 [zlib] Fix race condition in build 2018-03-01 11:39:37 -08:00
Robert Schumacher
14cbe496bc [vcpkg] Allow compilation inside WSL 2017-11-25 16:21:54 -08:00
Robert Schumacher
1b2f75be94 [vcpkg] Support \share\<port>\usage to handle libraries which are found through built-in Find Modules. 2017-11-16 23:54:55 -08:00
Alexander Karatarakis
e4e5298911 [zlib] Patch to not build more things than needed 2017-10-02 14:45:41 -07:00
Alexander Karatarakis
67e876c765 [zlib] Add PREFER_NINJA option 2017-09-23 00:00:55 -07:00
Alexander Karatarakis
0d50c6704d [zlib] Add sourceforge mirror 2017-01-17 15:34:31 -08:00
Alexander Karatarakis
97a2b5a793 [zlib] Update to 1.2.11 2017-01-17 14:45:20 -08:00
Patrick Bader
6a220edfb8 [zlib] fixed wrong FILENAME 2017-01-04 10:33:16 -08:00
Alexander Karatarakis
6f1f665416 [zlib] Update to 1.2.10 2017-01-03 13:29:17 -08:00
Alexander Karatarakis
1808d461b0 triplet is now automatically included before portfiles.
Also remove trailing whitespaces from portfiles
2016-11-08 14:25:47 -08:00
Alexander Karatarakis
f67609acf1 [zlib] Add comment about zlib building both static and dynamic 2016-11-03 12:09:23 -07:00
Alexander Karatarakis
71594b6bef Remove portfile branching of vcpkg_copy_pdbs() 2016-10-31 12:34:04 -07:00
Alexander Karatarakis
50fb104f6a Change VCPKG_BUILD_SHARED_LIBS to VCPKG_LIBRARY_LINKAGE with values
dynamic or static
2016-10-07 16:34:31 -07:00
Robert Schumacher
b1fe038a83 Remove use of vcpkg_build_cmake() across all portfiles. Fixes #123 2016-10-06 15:29:37 -07:00
Alexander Karatarakis
c44a1c7ad4 [zlib] Add rename of zlibstatic.lib to zlib.lib to portfile 2016-10-05 17:44:02 -07:00
Alexander Karatarakis
6685ff096d Modify zlib portfile for building shared & static libs 2016-10-05 17:44:02 -07:00
Alexander Karatarakis
3679955544 Introduce SOURCE_PATH to almost all portfiles 2016-09-28 17:05:56 -07:00
Ninetainedo
930d0a7ded URL and MIRRORS are now URLS
Updated all portfiles accordingly.
2016-09-25 00:23:04 +02:00
Ninetainedo
fc26083995 Second part of updated portfiles 2016-09-22 22:13:09 +02:00
Alexander Karatarakis
ccca198c1b Initial commit 2016-09-18 20:54:03 -07:00