capi-sensor: include sensor_log.h in capi-system-sensor package 12/75612/1
authorkibak.yoon <kibak.yoon@samsung.com>
Mon, 20 Jun 2016 13:11:03 +0000 (22:11 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Mon, 20 Jun 2016 14:35:03 +0000 (23:35 +0900)
- because there are same name header files, sensor_log.h,
  in capi-system-sensor and libsensord packages, they should be distinguished.

Change-Id: I27f22c7152ed9dbd723f9a057e89ea93d19b8f4e
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
CMakeLists.txt
src/sensor.cpp

index baae2b3..0e3c504 100644 (file)
@@ -13,7 +13,7 @@ SET(PC_DEPENDENTS "${DEPENDENTS}")
 SET(PC_LIBDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
 SET(PC_LDFLAGS "-l${PROJECT_NAME}")
 
-INCLUDE_DIRECTORIES(include)
+INCLUDE_DIRECTORIES(include ${CMAKE_CURRENT_SOURCE_DIR})
 
 # Build options
 INCLUDE(FindPkgConfig)
index 259f0fd..ea71b92 100644 (file)
@@ -25,7 +25,7 @@
 #include <sensor_private.h>
 #include <libgen.h>
 #include <memory>
-#include <sensor_log.h>
+#include "include/sensor_log.h"
 
 #define RETURN_VAL_IF(expr, err) \
        do { \