From cee4ea2bcd8d5857e26001a2127701210c171fcd Mon Sep 17 00:00:00 2001 From: Deepika Upadhyay Date: Mon, 10 Feb 2020 20:40:57 +0530 Subject: [PATCH] change include location for OpenTracingTargets.cmake cmake doesn't seem to build OpenTracingTargets.cmake in current provided location, instead the file was found in current binary directory. Signed-off-by: Deepika Upadhyay --- cmake/OpenTracingConfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/OpenTracingConfig.cmake b/cmake/OpenTracingConfig.cmake index e8f5939..eb810c7 100644 --- a/cmake/OpenTracingConfig.cmake +++ b/cmake/OpenTracingConfig.cmake @@ -9,4 +9,4 @@ # Linking to these libraries will also add the approprate interface header path to your compilation line. # e.g. target_link_libraries(newtarget OpenTracing::opentracing) -include("${CMAKE_CURRENT_LIST_DIR}/OpenTracingTargets.cmake") +include("${CMAKE_CURRENT_BINARY_DIR}/OpenTracingTargets.cmake")