From 6598427f7dc68f2c9ef6d683e80ec4627df52d58 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Thu, 17 Oct 2019 13:26:21 +0100 Subject: IVGCVSW-3400 Fixed include directives for Gatord builds * Using proper include directives with include paths * The relative paths used were causing trouble when building on other CI systems Signed-off-by: Matteo Martincigh Change-Id: I897a80d1f56fbdbc3c714a50a0598210d8f0a03c --- CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 6bc6573a96..499f721eb5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -905,7 +905,7 @@ if(BUILD_GATORD_MOCK) tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.hpp ) - include_directories( ${Boost_INCLUDE_DIRS} src/profiling) + include_directories(${Boost_INCLUDE_DIRS} src/profiling) add_library_ex(gatordMockService STATIC ${gatord_mock_sources}) @@ -915,9 +915,10 @@ if(BUILD_GATORD_MOCK) target_link_libraries(GartordMock pthread) endif() - target_link_libraries(GartordMock armnn gatordMockService) target_link_libraries(GartordMock - ${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_SYSTEM_LIBRARY} - ) + armnn + gatordMockService + ${Boost_PROGRAM_OPTIONS_LIBRARY} + ${Boost_SYSTEM_LIBRARY}) endif() -- cgit v1.2.1