Skip to content

Commit c3d5a48

Browse files
author
Petr Hodina
committed
fix include directory for tests
1 parent c4a52f6 commit c3d5a48

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ set(test_env
2121

2222
include(CMakeParseArguments)
2323

24+
include_directories(${CMAKE_SOURCE_DIR}/src)
25+
2426
# Function for adding new tests
2527
function(dai_add_test test_name test_src)
2628
# Parse arguments

tests/src/onhost_tests/naming_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <catch2/catch_all.hpp>
22

3-
#include "../../src/utility/EepromDataParser.hpp"
3+
#include <utility/EepromDataParser.hpp>
44

55
struct ProductDevice {
66
std::string oldProductName, productName, deviceName;

0 commit comments

Comments
 (0)