Skip to content

Commit 008b11c

Browse files
committed
fix Cmake and tests
1 parent 89c1a70 commit 008b11c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ install(EXPORT ${LIBMIDI2_EXPORT_NAME}
4646

4747
install(FILES ${LIBMIDI2_HEADERS} DESTINATION "include/${PROJECT_NAME}")
4848

49-
add_executable(tests tests.cpp)
50-
target_link_libraries(tests PRIVATE libmidi2)
51-
setupTarget(tests)
49+
add_executable(test tests/tests.cpp)
50+
target_link_libraries(test PRIVATE libmidi2)
51+
setupTarget(test)

tests/testbadsysex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Created by andrew on 3/05/24.
33
//
44

5-
#include "include/bytestreamToUMP.h"
5+
#include "../include/bytestreamToUMP.h"
66
#include <cstdio>
77

88
#include "umpToMIDI2Protocol.h"

tests/tests.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
// Created by andrew on 3/05/24.
33
//
44

5-
#include "include/bytestreamToUMP.h"
6-
#include "include/umpToBytestream.h"
7-
#include "include/umpToMIDI1Protocol.h"
8-
#include "include/umpMessageCreate.h"
5+
#include "../include/bytestreamToUMP.h"
6+
#include "../include/umpToBytestream.h"
7+
#include "../include/umpToMIDI1Protocol.h"
8+
#include "../include/umpMessageCreate.h"
99
#include <cstdio>
1010

1111
#include "umpToMIDI2Protocol.h"

0 commit comments

Comments
 (0)