diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2017-01-25 13:27:34 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2017-01-25 13:31:04 +0900 |
commit | 73fb091fb0569ae41f73baecc25028530c4e6523 (patch) | |
tree | 27cfd2b387cf89459bb508fa13b19770836e70b5 | |
parent | e717aafc8919a88f88eb358290f505b78008098a (diff) | |
download | aul-1-73fb091fb0569ae41f73baecc25028530c4e6523.tar.gz aul-1-73fb091fb0569ae41f73baecc25028530c4e6523.tar.bz2 aul-1-73fb091fb0569ae41f73baecc25028530c4e6523.zip |
Fix versioning
Change-Id: I2b4ce17610e2abd3d3df4abbd9f0a907fa9edae0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | aul.pc.in | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d3eda8d..083ca49b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,8 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) +SET(PREFIX ${CMAKE_INSTALL_PREFIX}) +SET(EXEC_PREFIX "\${prefix}") +SET(VERSION ${FULLVER}) PROJECT(aul C) AUX_SOURCE_DIRECTORY(src SOURCES) @@ -1,12 +1,12 @@ # Package Information for pkg-config -prefix=/usr +prefix=@PREFIX@ exec_prefix=@EXEC_PREFIX@ libdir=@LIB_INSTALL_DIR@ includedir=@INCLUDE_INSTALL_DIR@ Name: libaul -Description: new application utility library +Description: new application utility library Version: @VERSION@ Requires: bundle glib-2.0 xdgmime vconf dlog Libs: -L${libdir} -laul |