gflags: Add library alias without namespace (#25341)
* gflags: Add library alias without namespace * Update checksums
This commit is contained in:
parent
58f25e1cdd
commit
3a756ee3b2
@ -4,7 +4,7 @@ _realname=gflags
|
|||||||
pkgbase=mingw-w64-${_realname}
|
pkgbase=mingw-w64-${_realname}
|
||||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||||
pkgver=2.2.2
|
pkgver=2.2.2
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc="Google's Commandline flags module for C++ (mingw-w64)"
|
pkgdesc="Google's Commandline flags module for C++ (mingw-w64)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||||
@ -28,7 +28,7 @@ sha256sums=('34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf'
|
|||||||
'07dec6f4d117c226c1521de623e17180e9dee1b54e81a242fb8a974cf58726a7'
|
'07dec6f4d117c226c1521de623e17180e9dee1b54e81a242fb8a974cf58726a7'
|
||||||
'97fadc6add5c5dfab13046930e3470f16abd22f9cf6d33b87c6e8b4616e0d206'
|
'97fadc6add5c5dfab13046930e3470f16abd22f9cf6d33b87c6e8b4616e0d206'
|
||||||
'eaecfe4e7944270b0352a3ff9c1fcebdae6dac9fd30344d00c2b404b085a1457'
|
'eaecfe4e7944270b0352a3ff9c1fcebdae6dac9fd30344d00c2b404b085a1457'
|
||||||
'd1179c3f5629218b7a532196459e1ea6d190e69bda8e5c22670db8bc3cd388b5'
|
'428d7ba7ee2f4641cec8f24c4cb5b8f6a8cffdbed8fe5cc772df2cd6e0233de4'
|
||||||
'de2dd6d257a3c582833d4d85d4347ebe425dc71c14b29de7eff7b5f85a905d9a')
|
'de2dd6d257a3c582833d4d85d4347ebe425dc71c14b29de7eff7b5f85a905d9a')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
|||||||
@ -41,6 +41,9 @@ macro(gflags_load_targets type)
|
|||||||
return()
|
return()
|
||||||
endif ()
|
endif ()
|
||||||
include("${gflags_${type}_targets}")
|
include("${gflags_${type}_targets}")
|
||||||
|
if(NOT TARGET gflags)
|
||||||
|
add_library(gflags ALIAS gflags::gflags)
|
||||||
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
if (gflags_comp_static)
|
if (gflags_comp_static)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user