mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-29 15:11:48 +00:00
Add embedded GTK UI lib as a dependency of the updater
When building the updater target from outside the updater-installer/ build dir in the context of a larger project, CMake failed to determine how to build libupdatergtk.so in the context of the dependency chain updater -> updatershared -> libupdatergtk.cpp -> libupdatergtk.so Resolve this for now by adding an explicit updatershared -> resource_updatergtk dependency. MD-19678 #time 2h
This commit is contained in:
parent
e74435e871
commit
6a56b5cddc
1 changed files with 4 additions and 0 deletions
|
@ -106,6 +106,10 @@ target_link_libraries(updatershared
|
||||||
tinythread
|
tinythread
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(LINUX)
|
||||||
|
add_dependencies(updatershared resource_updatergtk)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
find_library(COCOA_LIBRARY Cocoa)
|
find_library(COCOA_LIBRARY Cocoa)
|
||||||
find_library(SECURITY_LIBRARY Security)
|
find_library(SECURITY_LIBRARY Security)
|
||||||
|
|
Loading…
Reference in a new issue