From 612de7a2ba788583ba0851df855c872665ff1bc1 Mon Sep 17 00:00:00 2001 From: smolBlackCat Date: Wed, 26 Jun 2024 09:44:29 -0300 Subject: [PATCH] Revert "ci: Add gettext dependency to MacOS build" This reverts commit 01a08794bd7bd6ba77c78546e28081e76b012cae. --- .github/workflows/ci.yml | 1 - CMakeLists.txt | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14e3eacf..d2c39660 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -145,7 +145,6 @@ jobs: - name: Fetch dependencies run: | brew install pkg-config - brew install gettext brew install gtkmm3 brew install nlohmann-json brew install jpeg diff --git a/CMakeLists.txt b/CMakeLists.txt index 026e0fc8..03c9ac50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -124,10 +124,10 @@ target_link_libraries(abaddon ${NLOHMANN_JSON_LIBRARIES}) target_link_libraries(abaddon ${CMAKE_DL_LIBS}) # Sincerely, there ought be a better solution -if (LINUX) - target_link_libraries(abaddon ${INTL_LIBRARIES}) -else() +if (MINGW) target_link_libraries(abaddon intl) +else() + target_link_libraries(abaddon ${INTL_LIBRARIES}) endif() target_link_libraries(abaddon CURL::libcurl)