Add CMake include dir for settings.hpp
This include file is generated, and in bitbake goes into
build/inc/ instead of git/inc/ so that dir needs to be added
to the include path.
Tested: The file could now be found during a bitbake build.
Change-Id: I3f1343db7349611e9da081b0e291ef31048f726d
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 817857e..ce31c2c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,6 +31,7 @@
)
configure_file (settings.hpp.in ${CMAKE_BINARY_DIR}/inc/settings.hpp)
+include_directories(${CMAKE_BINARY_DIR}/inc)
# import sdbusplus
find_package(PkgConfig REQUIRED)