mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-27 08:24:39 -07:00
[Oracle] Stop linking the full client network stack into the oracle binary (#7354)
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Build Desktop / Configure (push) Has been cancelled
Build Docker / Servatrice (arm) (push) Has been cancelled
Build Docker / Servatrice (x86) (push) Has been cancelled
Build Desktop / Debian 13 (push) Has been cancelled
Build Desktop / Debian 12 (push) Has been cancelled
Build Desktop / Fedora 44 (push) Has been cancelled
Build Desktop / Fedora 43 (push) Has been cancelled
Build Desktop / Servatrice_Debian 12 (push) Has been cancelled
Build Desktop / Ubuntu 26.04 (push) Has been cancelled
Build Desktop / Ubuntu 24.04 (push) Has been cancelled
Build Desktop / Arch (push) Has been cancelled
Build Desktop / macOS 13 Intel (push) Has been cancelled
Build Desktop / macOS 14 (push) Has been cancelled
Build Desktop / macOS 15 (push) Has been cancelled
Build Desktop / macOS 26 Debug (push) Has been cancelled
Build Desktop / Windows 10 (push) Has been cancelled
Build Docker / Publish multi-platform Servatrice image (push) Has been cancelled
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Build Desktop / Configure (push) Has been cancelled
Build Docker / Servatrice (arm) (push) Has been cancelled
Build Docker / Servatrice (x86) (push) Has been cancelled
Build Desktop / Debian 13 (push) Has been cancelled
Build Desktop / Debian 12 (push) Has been cancelled
Build Desktop / Fedora 44 (push) Has been cancelled
Build Desktop / Fedora 43 (push) Has been cancelled
Build Desktop / Servatrice_Debian 12 (push) Has been cancelled
Build Desktop / Ubuntu 26.04 (push) Has been cancelled
Build Desktop / Ubuntu 24.04 (push) Has been cancelled
Build Desktop / Arch (push) Has been cancelled
Build Desktop / macOS 13 Intel (push) Has been cancelled
Build Desktop / macOS 14 (push) Has been cancelled
Build Desktop / macOS 15 (push) Has been cancelled
Build Desktop / macOS 26 Debug (push) Has been cancelled
Build Desktop / Windows 10 (push) Has been cancelled
Build Docker / Publish multi-platform Servatrice image (push) Has been cancelled
Co-authored-by: user.email <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
e9cd9453ea
commit
26a74c96c5
1 changed files with 5 additions and 3 deletions
|
|
@ -31,8 +31,6 @@ set(oracle_SOURCES
|
||||||
../cockatrice/src/interface/pixel_map_generator.cpp
|
../cockatrice/src/interface/pixel_map_generator.cpp
|
||||||
../cockatrice/src/interface/theme_config.cpp
|
../cockatrice/src/interface/theme_config.cpp
|
||||||
../cockatrice/src/interface/theme_manager.cpp
|
../cockatrice/src/interface/theme_manager.cpp
|
||||||
../cockatrice/src/interface/widgets/quick_settings/settings_button_widget.cpp
|
|
||||||
../cockatrice/src/interface/widgets/quick_settings/settings_popup_widget.cpp
|
|
||||||
${VERSION_STRING_CPP}
|
${VERSION_STRING_CPP}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -123,10 +121,14 @@ target_link_libraries(
|
||||||
oracle
|
oracle
|
||||||
PUBLIC libcockatrice_card
|
PUBLIC libcockatrice_card
|
||||||
PUBLIC libcockatrice_settings
|
PUBLIC libcockatrice_settings
|
||||||
PUBLIC libcockatrice_network
|
PUBLIC libcockatrice_protocol
|
||||||
PUBLIC ${ORACLE_QT_MODULES}
|
PUBLIC ${ORACLE_QT_MODULES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Only user_level.h is needed from the network headers (pulled in transitively
|
||||||
|
# by pixel_map_generator.h); nothing from the network libraries is linked.
|
||||||
|
target_include_directories(oracle PRIVATE ${CMAKE_SOURCE_DIR}/libcockatrice_network)
|
||||||
|
|
||||||
if(ZLIB_FOUND)
|
if(ZLIB_FOUND)
|
||||||
target_link_libraries(oracle PUBLIC ${ZLIB_LIBRARIES})
|
target_link_libraries(oracle PUBLIC ${ZLIB_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue