Craziness with multiarch
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 1m18s

This commit is contained in:
Your Name
2025-05-25 22:12:14 +12:00
parent d3ceb3f4be
commit f45baa8362
4 changed files with 112 additions and 45 deletions

View File

@ -113,12 +113,21 @@ FetchContent_Declare(
)
FetchContent_MakeAvailable(nlohmann_json)
# Find zlib
find_package(ZLIB REQUIRED)
# Link libraries
target_link_libraries(dropshell PRIVATE
libassert::assert
cpptrace::cpptrace
httplib::httplib
nlohmann_json::nlohmann_json
ZLIB::ZLIB
)
# Set static linking flags
set_target_properties(dropshell PROPERTIES
LINK_FLAGS "-static-libstdc++ -static-libgcc -Wl,-Bstatic -Wl,-Bdynamic"
)
# Install targets