fix(companion): fix build issues
This commit is contained in:
@@ -25,7 +25,9 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
#if !defined(SIMU)
|
||||||
#include "memory_sections.h"
|
#include "memory_sections.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(M_PI)
|
#if !defined(M_PI)
|
||||||
#define M_PI 3.14159265358979323846 // pi
|
#define M_PI 3.14159265358979323846 // pi
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ set(SIMU_DRIVERS ${SIMU_DRIVERS}
|
|||||||
${CMAKE_CURRENT_BINARY_DIR}/${HW_DESC_JSON}
|
${CMAKE_CURRENT_BINARY_DIR}/${HW_DESC_JSON}
|
||||||
)
|
)
|
||||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
include_directories(../../targets/simu)
|
||||||
|
|
||||||
if(SDL2_FOUND)
|
if(SDL2_FOUND)
|
||||||
include_directories(${SDL2_INCLUDE_DIRS})
|
include_directories(${SDL2_INCLUDE_DIRS})
|
||||||
|
|||||||
Reference in New Issue
Block a user