Skip to content

Commit

Permalink
More clearly expose base64 for external referencing
Browse files Browse the repository at this point in the history
  • Loading branch information
p2004a committed Feb 10, 2024
1 parent 7840b29 commit bdac303
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ endif()

add_subdirectory(src/lib)

add_library(prd::base64 ALIAS pr-base64)

# Include actual program source
add_subdirectory(src)

Expand Down
8 changes: 6 additions & 2 deletions src/lib/base64/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
add_library(pr-base64 STATIC
base64.cpp
)
base64.cpp
)

target_include_directories(pr-base64
INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
)
2 changes: 1 addition & 1 deletion src/pr-downloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include "Logger.h"
#include "Tracer.h"
#include "Version.h"
#include "lib/base64/base64.h"
#include "lib/md5/md5.h"
#include <base64.h>

#include <assert.h>
#include <cinttypes>
Expand Down

0 comments on commit bdac303

Please sign in to comment.