Skip to content

Commit

Permalink
🧹 remove range-v3 from depends
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Jul 14, 2024
1 parent d59ee39 commit af83cb9
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 28 deletions.
8 changes: 1 addition & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ CPMAddPackage(
GIT_TAG c241d64279d30a013be2601d42564280f950bcb8
EXCLUDE_FROM_ALL YES
)
CPMAddPackage(
NAME range-v3
GITHUB_REPOSITORY ericniebler/range-v3
GIT_TAG 9aa41d6b8ded2cf5e8007e66a0efd1ab33dbf9a5
EXCLUDE_FROM_ALL YES
)

find_package(PolkitQt6-1 REQUIRED)

Expand Down Expand Up @@ -138,7 +132,7 @@ enable_sanitizers(project_options)

include_directories(${CMAKE_SOURCE_DIR}/src ${CMAKE_BINARY_DIR})

target_link_libraries(${PROJECT_NAME} PRIVATE project_warnings project_options Qt6::Widgets Qt6::Concurrent Threads::Threads fmt::fmt range-v3::range-v3 frozen::frozen PkgConfig::LIBALPM PkgConfig::LIBGLIB)
target_link_libraries(${PROJECT_NAME} PRIVATE project_warnings project_options Qt6::Widgets Qt6::Concurrent Threads::Threads fmt::fmt frozen::frozen PkgConfig::LIBALPM PkgConfig::LIBGLIB)

option(ENABLE_UNITY "Enable Unity builds of projects" OFF)
if(ENABLE_UNITY)
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ Second, build it:

* [Qt](https://www.qt.io) used for GUI.
* [A modern formatting library](https://github.com/fmtlib/fmt) used for formatting strings, output and logging.
* [Ranges](https://github.com/ericniebler/range-v3) used for ranges support with clang.
4 changes: 0 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,6 @@ endif
add_project_arguments(cc.get_supported_arguments(possible_cc_flags), language : 'cpp')

deps = [qt6_dep, fmt, libalpm, glib]
if cc.get_id() == 'clang'
ranges = dependency('range-v3', version : ['>=0.11.0'])
deps += [ranges]
endif

prep = qt6.compile_moc(
headers : ['src/km-window.hpp', 'src/conf-window.hpp', 'src/conf-options-page.hpp', 'src/conf-patches-page.hpp'] # These need to be fed through the moc tool before use.
Expand Down
8 changes: 0 additions & 8 deletions subprojects/packagefiles/range-v3/meson.build

This file was deleted.

8 changes: 0 additions & 8 deletions subprojects/range-v3.wrap

This file was deleted.

0 comments on commit af83cb9

Please sign in to comment.