Skip to content

Commit 3be3205

Browse files
committed
vcpkg: fix
1 parent 4410800 commit 3be3205

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

build/cmake/unit_tests.cmake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
set(test_srcs)
22
myci_add_source_files(test_srcs
33
DIRECTORY
4-
../../tests/unit/src
4+
${CMAKE_CURRENT_LIST_DIR}/../../tests/unit/src
55
RECURSIVE
66
)
77

88
myci_add_source_files(test_srcs
99
DIRECTORY
10-
../../tests/harness/tst/src
10+
${CMAKE_CURRENT_LIST_DIR}/../../tests/harness/tst/src
1111
RECURSIVE
1212
)
1313

1414
myci_add_source_files(test_srcs
1515
DIRECTORY
16-
../../tests/harness/clargs/src
16+
${CMAKE_CURRENT_LIST_DIR}/../../tests/harness/clargs/src
1717
RECURSIVE
1818
)
1919

@@ -22,8 +22,8 @@ myci_declare_application(${name}-tests
2222
SOURCES
2323
${test_srcs}
2424
INCLUDE_DIRECTORIES
25-
../../tests/harness/tst/src
26-
../../tests/harness/clargs/src
25+
${CMAKE_CURRENT_LIST_DIR}/../../tests/harness/tst/src
26+
${CMAKE_CURRENT_LIST_DIR}/../../tests/harness/clargs/src
2727
PREPROCESSOR_DEFINITIONS
2828
TST_NO_PAR
2929
DEPENDENCIES

0 commit comments

Comments
 (0)