1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00

Fix order of linking zlib

This commit is contained in:
Joshua Goins 2023-12-20 19:28:36 -05:00
parent 63c5275f93
commit a10649781e
2 changed files with 2 additions and 3 deletions

View file

@ -17,5 +17,5 @@ find_package(PkgConfig REQUIRED)
pkg_check_modules(UNSHIELD REQUIRED IMPORTED_TARGET libunshield)
target_include_directories(physis INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/libphysis/target/public)
target_link_libraries(physis INTERFACE ${UNSHIELD_LIBRARIES})
target_link_libraries(physis INTERFACE ${UNSHIELD_LIBRARIES} z)
target_link_directories(physis INTERFACE ${UNSHIELD_LIBRARY_DIRS})

View file

@ -145,8 +145,7 @@ target_link_libraries(astra PRIVATE
KF6::Archive
QCoro::Core
QCoro::Network
QCoro::Qml
z)
QCoro::Qml)
target_compile_options(astra PRIVATE -fexceptions)
if (BUILD_FLATPAK)