Fix build error 73/160973/1
authorSeungha Son <seungha.son@samsung.com>
Tue, 21 Nov 2017 02:53:32 +0000 (11:53 +0900)
committerSeungha Son <seungha.son@samsung.com>
Tue, 21 Nov 2017 02:54:37 +0000 (11:54 +0900)
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I1e491cb2d26760ee3da2395bca7aec16c24f1a82

CMakeLists.txt

index 4bea017..06b88d0 100755 (executable)
@@ -3,6 +3,11 @@ PROJECT(badge C)
 
 SET(CMAKE_SKIP_BUILD_RPATH true)
 
+SET(PREFIX ${CMAKE_INSTALL_PREFIX})
+SET(EXEC_PREFIX "\${prefix}")
+SET(LIBDIR ${LIB_INSTALL_DIR})
+SET(INCLUDEDIR "\${prefix}/include/${PROJECT_NAME}")
+
 SET(INIT-SRCS
        src/badge_init.c
 )