Add fancy hashing
This commit is contained in:
@ -27,8 +27,12 @@ configure_file(
|
||||
@ONLY
|
||||
)
|
||||
|
||||
# Set CMAKE_MODULE_PATH to include our custom find modules
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||
|
||||
# Find required packages
|
||||
find_package(TBB REQUIRED)
|
||||
find_package(xxHash REQUIRED)
|
||||
|
||||
# Auto-detect source files
|
||||
file(GLOB_RECURSE SOURCES "src/*.cpp")
|
||||
@ -41,11 +45,13 @@ add_executable(dropshell ${SOURCES})
|
||||
target_include_directories(dropshell PRIVATE
|
||||
src
|
||||
${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
${xxHash_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
# Link libraries
|
||||
target_link_libraries(dropshell PRIVATE
|
||||
TBB::tbb
|
||||
${xxHash_LIBRARIES}
|
||||
)
|
||||
|
||||
# Install targets
|
||||
|
Reference in New Issue
Block a user