mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Prepend PkgConfig variables with TDESKTOP_
To avoid clashes with cache variables set by third party cmake modules
This commit is contained in:
parent
cd0ebb41aa
commit
5d8ac95d07
3 changed files with 5 additions and 5 deletions
|
@ -10,11 +10,11 @@ add_library(tdesktop::lib_tgvoip ALIAS lib_tgvoip)
|
||||||
if (DESKTOP_APP_USE_PACKAGED)
|
if (DESKTOP_APP_USE_PACKAGED)
|
||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
if (PkgConfig_FOUND)
|
if (PkgConfig_FOUND)
|
||||||
pkg_check_modules(TGVOIP IMPORTED_TARGET tgvoip)
|
pkg_check_modules(TDESKTOP_TGVOIP IMPORTED_TARGET tgvoip)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (TGVOIP_FOUND)
|
if (TDESKTOP_TGVOIP_FOUND)
|
||||||
target_link_libraries(lib_tgvoip INTERFACE PkgConfig::TGVOIP)
|
target_link_libraries(lib_tgvoip INTERFACE PkgConfig::TDESKTOP_TGVOIP)
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 8809cc72d07087ec61a1e8569de4da95aac45474
|
Subproject commit 73dba37d0a7e0def17889091498a99d1057f961d
|
2
cmake
2
cmake
|
@ -1 +1 @@
|
||||||
Subproject commit 8647b77e253a8d57ec300ce3b5962dddca0cdfb5
|
Subproject commit 953b950b6aed53ce8d4695e998ff72c258dd24b1
|
Loading…
Add table
Reference in a new issue