0
0
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:
Omegastick 2019-04-14 16:51:59 +09:00
parent cc99846156
commit 43e398ed86

View File

@ -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()