Commit 43e398ed authored by Omegastick's avatar Omegastick

Problem: Radix Tree benchmarks break when project is used as a submodule

Solution: Use CMAKE_CURRENT_LIST_DIR instead of CMAKE_SOURCE_DIR when findng includes
parent cc998461
...@@ -1331,7 +1331,7 @@ if(BUILD_SHARED) ...@@ -1331,7 +1331,7 @@ if(BUILD_SHARED)
target_link_libraries(benchmark_radix_tree libzmq-static) target_link_libraries(benchmark_radix_tree libzmq-static)
target_include_directories(benchmark_radix_tree target_include_directories(benchmark_radix_tree
PUBLIC PUBLIC
"${CMAKE_SOURCE_DIR}/src") "${CMAKE_CURRENT_LIST_DIR}/src")
endif() endif()
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment