Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
some cleanup after argagg removal
Browse files Browse the repository at this point in the history
  • Loading branch information
amirmasoudabdol committed Jul 30, 2021
1 parent ed65419 commit 1d5fd7d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 26 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CPMAddPackage(
"JSON_BuildTests OFF"
)
CPMAddPackage("gh:agauniyal/rang#v3.1.0")
CPMAddPackage("gh:vietjtnguyen/argagg#0.4.6")
CPMAddPackage("gh:jarro2783/cxxopts#v2.2.1")

if(APPLE OR MSVC OR CMAKE_BUILD_TYPE STREQUAL "Debug")
set(DOXYBOOK_STATIC_STDLIB OFF)
Expand Down
10 changes: 0 additions & 10 deletions modules/FindArgAgg.cmake

This file was deleted.

10 changes: 0 additions & 10 deletions modules/FindRang.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion src/Doxybook/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../include
)

# Libraries
target_link_libraries(${PROJECT_NAME} PUBLIC fmt::fmt fmt::fmt-header-only pantor::inja Rang nlohmann_json nlohmann_json::nlohmann_json)
target_link_libraries(${PROJECT_NAME} PUBLIC fmt::fmt fmt::fmt-header-only pantor::inja nlohmann_json nlohmann_json::nlohmann_json)
if(MSVC)
target_link_libraries(${PROJECT_NAME} PRIVATE Dirent)
endif()
5 changes: 1 addition & 4 deletions src/DoxybookCli/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
cmake_minimum_required(VERSION 3.10)
project(Doxybook2Cli)

# Dependencies
find_package(ArgAgg REQUIRED)

# Project source files
file(GLOB_RECURSE SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
file(GLOB_RECURSE HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/*.hpp)
Expand Down Expand Up @@ -34,4 +31,4 @@ install(TARGETS ${PROJECT_NAME}
)

# Libraries
target_link_libraries(${PROJECT_NAME} PUBLIC Doxybook2 ArgAgg)
target_link_libraries(${PROJECT_NAME} PUBLIC Doxybook2)

0 comments on commit 1d5fd7d

Please # to comment.