From 63656e5c26c108263006695c5a77ae00e5bf26b1 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Tue, 27 Aug 2019 19:12:07 +0200 Subject: tools: Use time_utils from tools The ocbr tool was still using the non-public time_utils from the library instead of the version in tools. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/tools/ocbr/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/tools/ocbr/CMakeLists.txt') diff --git a/src/tools/ocbr/CMakeLists.txt b/src/tools/ocbr/CMakeLists.txt index 5dac3e63..f7ba66cd 100644 --- a/src/tools/ocbr/CMakeLists.txt +++ b/src/tools/ocbr/CMakeLists.txt @@ -4,6 +4,11 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) include_directories(${CMAKE_SOURCE_DIR}/include) include_directories(${CMAKE_BINARY_DIR}/include) +get_filename_component(CURRENT_SOURCE_PARENT_DIR + ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY) + +include_directories(${CURRENT_SOURCE_PARENT_DIR}) + set(SOURCE_FILES # Add source files here ocbr.c -- cgit v1.2.3