mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 22:11:37 +08:00
[glog] Set GLOG_STATIC_DEFINE in export.h (#35173)
* fix glog * update version --------- Co-authored-by: Monica <v-liumonica@microsoft.com>
This commit is contained in:
parent
abe01a20d3
commit
776bf4317e
@ -35,4 +35,10 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/${PORT}/export.h" "#ifdef GLOG_STATIC_DEFINE" "#if 1")
|
||||
else()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/${PORT}/export.h" "#ifdef GLOG_STATIC_DEFINE" "#if 0")
|
||||
endif()
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "glog",
|
||||
"version": "0.6.0",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "C++ implementation of the Google logging module",
|
||||
"homepage": "https://github.com/google/glog",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -2998,7 +2998,7 @@
|
||||
},
|
||||
"glog": {
|
||||
"baseline": "0.6.0",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"gloo": {
|
||||
"baseline": "20201203",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3e4dcaa54d409ed758073ef4964cf41d57996e90",
|
||||
"version": "0.6.0",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "cce45164ee522a505686c1794e7c228e44f52d76",
|
||||
"version": "0.6.0",
|
||||
|
Loading…
Reference in New Issue
Block a user