Change hpp include file directive
[apps/agl-service-can-low-level.git] / src / CMakeLists.txt
index 768d6b4..a034b43 100644 (file)
@@ -17,7 +17,7 @@
 # limitations under the License.
 ###########################################################################
 
-project(ll-can)
+project(low-can)
 
 cmake_minimum_required(VERSION 3.3)
 
@@ -57,7 +57,7 @@ include(FindPkgConfig)
 
 pkg_check_modules(EXTRAS REQUIRED json-c afb-daemon)
 add_compile_options(${EXTRAS_CFLAGS})
-include_directories(${EXTRAS_INCLUDE_DIRS} ${PROJECT_LIBDIR}/openxc-message-format/gen/cpp ${PROJECT_LIBDIR}/nanopb/)
+include_directories(${EXTRAS_INCLUDE_DIRS} ${PROJECT_LIBDIR}/openxc-message-format/gen/cpp ${PROJECT_LIBDIR}/nanopb/  ${PROJECT_LIBDIR}/uds-c/src  ${PROJECT_LIBDIR}/bitfield-c/src ${PROJECT_LIBDIR}/isotp-c/src)
 link_libraries(${EXTRAS_LIBRARIES})
 
 ###########################################################################
@@ -65,7 +65,7 @@ link_libraries(${EXTRAS_LIBRARIES})
 
 message(STATUS "Creation of ${PROJECT_NAME} binding for AFB-DAEMON")
 ###########################################################################
-add_library(${PROJECT_NAME}-binding MODULE ${PROJECT_NAME}-binding.c)
+add_library(${PROJECT_NAME}-binding MODULE ${PROJECT_NAME}-binding.cpp)
 
 set_target_properties(${PROJECT_NAME}-binding PROPERTIES
        PREFIX ""