Skip to content

Commit

Permalink
link .cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
altramarine committed Dec 5, 2024
1 parent 18ed241 commit 02caf98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ FetchContent_GetProperties(byteslice)
if (NOT byteslice_POPULATED)
FetchContent_Populate(byteslice)
endif()

add_library(byteslice INTERFACE)
target_include_directories(byteslice INTERFACE ${byteslice_SOURCE_DIR})
file(GLOB_RECURSE byteslice_SOURCES
"${byteslice_SOURCE_DIR}/src/*.cpp"
)
add_library(byteslice INTERFACE ${byteslice_SOURCES})
target_include_directories(byteslice INTERFACE ${byteslice_SOURCE_DIR})
# add_library(byteslice STATIC ${byteslice_Sources})
2 changes: 1 addition & 1 deletion src/bliss/bench_byteslice.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <vector>

#include "bliss/bliss_index.h"
#include <src/byteslice.h>
#include "src/byteslice.h"
#include <string>

namespace bliss {
Expand Down

0 comments on commit 02caf98

Please sign in to comment.