diff options
| author | Romain Pokrzywka <romain.pokrzywka@gmail.com> | 2018-08-08 08:02:30 -0500 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-08-08 06:02:30 -0700 |
| commit | 961cd9effd9a5230f211875bb0e9a6773e0e3fab (patch) | |
| tree | 0ab914c4041eebf36171ec6a9342b4cbe59a623a /scripts/cmake | |
| parent | cfc7f61b61be49020044a17df67ae696cb6fa8fd (diff) | |
| download | vcpkg-961cd9effd9a5230f211875bb0e9a6773e0e3fab.tar.gz vcpkg-961cd9effd9a5230f211875bb0e9a6773e0e3fab.zip | |
breakpad: Enable building the libbreakpad_client library (#4008)
* breakpad: Enable building the libbreakpad_client library
That's the library that allows creating and uploading .dmp files
when a program crashes.
Use the same flags and setup as for libbreakpad, just note that
this commit changes the installation folder for headers which
was previously incorrect:
The libbreakpad headers were installed in include/google_breakpad,
but the correct path is include/breakpad/google_breakpad,
and client headers go into include/breakpad/client/windows.
* [breakpad] Install headers one directory higher
* [breakpad] Switch to only build static libraries. Disable libbreakpad_client on non-windows due to additional work required.
Diffstat (limited to 'scripts/cmake')
| -rw-r--r-- | scripts/cmake/vcpkg_check_linkage.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cmake/vcpkg_check_linkage.cmake b/scripts/cmake/vcpkg_check_linkage.cmake index 022e2b860..101adc4fd 100644 --- a/scripts/cmake/vcpkg_check_linkage.cmake +++ b/scripts/cmake/vcpkg_check_linkage.cmake @@ -34,14 +34,14 @@ function(vcpkg_check_linkage) if(_csc_ONLY_STATIC_LIBRARY AND VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
message(STATUS "Note: ${PORT} only supports static library linkage. Building static library.")
- set(VCPKG_LIBRARY_LINKAGE static)
+ set(VCPKG_LIBRARY_LINKAGE static PARENT_SCOPE)
endif()
if(_csc_ONLY_DYNAMIC_LIBRARY AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
message(STATUS "Note: ${PORT} only supports dynamic library linkage. Building dynamic library.")
if(VCPKG_CRT_LINKAGE STREQUAL "static")
message(FATAL_ERROR "Refusing to build unexpected dynamic library against the static CRT. If this is desired, please configure your triplet to directly request this configuration.")
endif()
- set(VCPKG_LIBRARY_LINKAGE dynamic)
+ set(VCPKG_LIBRARY_LINKAGE dynamic PARENT_SCOPE)
endif()
if(_csc_ONLY_DYNAMIC_CRT AND VCPKG_CRT_LINKAGE STREQUAL "static")
|
