mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +00:00
Fix order of linking zlib
This commit is contained in:
parent
63c5275f93
commit
a10649781e
2 changed files with 2 additions and 3 deletions
2
external/CMakeLists.txt
vendored
2
external/CMakeLists.txt
vendored
|
@ -17,5 +17,5 @@ find_package(PkgConfig REQUIRED)
|
||||||
pkg_check_modules(UNSHIELD REQUIRED IMPORTED_TARGET libunshield)
|
pkg_check_modules(UNSHIELD REQUIRED IMPORTED_TARGET libunshield)
|
||||||
|
|
||||||
target_include_directories(physis INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/libphysis/target/public)
|
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})
|
target_link_directories(physis INTERFACE ${UNSHIELD_LIBRARY_DIRS})
|
||||||
|
|
|
@ -145,8 +145,7 @@ target_link_libraries(astra PRIVATE
|
||||||
KF6::Archive
|
KF6::Archive
|
||||||
QCoro::Core
|
QCoro::Core
|
||||||
QCoro::Network
|
QCoro::Network
|
||||||
QCoro::Qml
|
QCoro::Qml)
|
||||||
z)
|
|
||||||
target_compile_options(astra PRIVATE -fexceptions)
|
target_compile_options(astra PRIVATE -fexceptions)
|
||||||
|
|
||||||
if (BUILD_FLATPAK)
|
if (BUILD_FLATPAK)
|
||||||
|
|
Loading…
Add table
Reference in a new issue