mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-14 01:37:56 +08:00
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
This commit is contained in:
parent
cc99846156
commit
43e398ed86
@ -1331,7 +1331,7 @@ if(BUILD_SHARED)
|
||||
target_link_libraries(benchmark_radix_tree libzmq-static)
|
||||
target_include_directories(benchmark_radix_tree
|
||||
PUBLIC
|
||||
"${CMAKE_SOURCE_DIR}/src")
|
||||
"${CMAKE_CURRENT_LIST_DIR}/src")
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user