examples: fix include path
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
add_executable (readi2c readi2c.cpp)
|
||||
add_executable (hellomaa hellomaa.cpp)
|
||||
|
||||
include_directories(${PROJECT_SOURCE_DIR}/src)
|
||||
|
||||
target_link_libraries (hellomaa maa)
|
||||
target_link_libraries (readi2c maa)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "stdio.h"
|
||||
|
||||
#include "../src/maa.h"
|
||||
#include "maa.h"
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "../src/maa.h"
|
||||
#include "maa.h"
|
||||
|
||||
int
|
||||
main ()
|
||||
|
||||
Reference in New Issue
Block a user