Skip to content

Commit

Permalink
Remove extra bits from CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenDB committed Dec 13, 2022
1 parent 45e84e3 commit 02c0603
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ endif()

find_package(Qt6 6.2 COMPONENTS Core Network NetworkAuth Widgets LinguistTools Svg REQUIRED)

# some of the following several lines of CMake shamelessly stolen from https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent
# (since I'm using the repo, I don't feel too bad about using their example CMake stuff)
find_package(nlohmann_json 3.10.5)

if(NOT nlohmann_json_FOUND)
message("Fetching nlohmann/json from GitHub...")

Expand All @@ -33,8 +30,6 @@ if(NOT nlohmann_json_FOUND)
endif()

find_package(Qt6Keychain 0.13.2)

# sorta stolen from https://nheko.im/nheko-reborn/nheko/-/blob/master/CMakeLists.txt
if (NOT Qt6Keychain_FOUND)
message("Fetching qtkeychain from GitHub...")

Expand All @@ -53,7 +48,6 @@ if (NOT Qt6Keychain_FOUND)
endif()

find_package(spdlog 1.10.0)

if(NOT spdlog_FOUND)
message("Fetching spdlog from GitHub...")

Expand All @@ -66,7 +60,6 @@ if(NOT spdlog_FOUND)
endif()

find_package(Backward)

if (NOT Backward_FOUND)
message("Fetching backward-cpp from GitHub...")

Expand Down

0 comments on commit 02c0603

Please sign in to comment.