diff --git a/examples/c++/CMakeLists.txt b/examples/c++/CMakeLists.txt index 4b3ea7d7..8b87bdef 100644 --- a/examples/c++/CMakeLists.txt +++ b/examples/c++/CMakeLists.txt @@ -108,6 +108,7 @@ add_executable (a110x-intr-example a110x-intr.cxx) add_executable (mhz16-example mhz16.cxx) add_executable (apds9002-example apds9002.cxx) add_executable (waterlevel-example waterlevel.cxx) +add_executable (apds9002-example apds9002.cxx) include_directories (${PROJECT_SOURCE_DIR}/src/hmc5883l) include_directories (${PROJECT_SOURCE_DIR}/src/grove) @@ -195,6 +196,7 @@ include_directories (${PROJECT_SOURCE_DIR}/src/flex) include_directories (${PROJECT_SOURCE_DIR}/src/mhz16) include_directories (${PROJECT_SOURCE_DIR}/src/apds9002) include_directories (${PROJECT_SOURCE_DIR}/src/waterlevel) +include_directories (${PROJECT_SOURCE_DIR}/src/apds9002) target_link_libraries (hmc5883l-example hmc5883l ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groveled-example grove ${CMAKE_THREAD_LIBS_INIT}) @@ -304,3 +306,4 @@ target_link_libraries (a110x-intr-example a110x ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mhz16-example mhz16 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (apds9002-example apds9002 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (waterlevel-example waterlevel ${CMAKE_THREAD_LIBS_INIT}) +target_link_libraries (apds9002-example apds9002 ${CMAKE_THREAD_LIBS_INIT})