Skip to content

Commit cfe4242

Browse files
committed
add cavl2.h as system header
1 parent a3e3160 commit cfe4242

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

libcanard/canard.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
// --------------------------------------------- INTERNAL INCLUDES ----------------------------------------------
4242
// The internal includes are placed here after the config header is included and CANARD_ASSERT is defined.
4343
#define CAVL2_T struct CanardTreeNode
44-
#include "cavl2.h"
44+
#include <cavl2.h>
4545

4646
// --------------------------------------------- COMMON DEFINITIONS ---------------------------------------------
4747

tests/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Woverloaded-virtual -Wnon-virtual-dtor
7070

7171
include_directories(${library_dir})
7272
include_directories(SYSTEM catch)
73+
include_directories(SYSTEM ${CMAKE_SOURCE_DIR}/libcanard)
7374
add_definitions(-DCATCH_CONFIG_FAST_COMPILE=1 -DCATCH_CONFIG_ENABLE_ALL_STRINGMAKERS=1)
7475

7576
set(common_sources ${CMAKE_SOURCE_DIR}/main.cpp ${library_dir}/canard.c)

0 commit comments

Comments
 (0)