summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJiwoong Im <jiwoong.im@samsung.com>2017-03-27 09:32:33 (GMT)
committerJiwoong Im <jiwoong.im@samsung.com>2017-03-27 10:35:12 (GMT)
commit8c41cbf1ab0f3854dd26d3741701adfdc84c9e45 (patch)
tree77f0bedc5becec1584a07197aaf70f86643edf4d /CMakeLists.txt
parentfc03b71394fd57bc1ca12d3391c18a66f82abaee (diff)
downloadui-gadget-1-8c41cbf1ab0f3854dd26d3741701adfdc84c9e45.zip
ui-gadget-1-8c41cbf1ab0f3854dd26d3741701adfdc84c9e45.tar.gz
ui-gadget-1-8c41cbf1ab0f3854dd26d3741701adfdc84c9e45.tar.bz2
Changes: - Set license using %license macro Change-Id: I6a81d25b919568de0075f9a240e8a3bf4c88c652 Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 25ca50f..eb774bb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,8 +3,6 @@ PROJECT(ui-gadget-1)
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
SET(EXEC_PREFIX "\${prefix}")
-SET(VERSION_MAJOR 0)
-SET(VERSION "${VERSION_MAJOR}.1.0")
SET(CMAKE_SKIP_BUILD_RPATH TRUE)
@@ -41,8 +39,8 @@ ENDFOREACH(flag)
SET(CFLAGS "${CFLAGS} -I${CMAKE_CURRENT_SOURCE_DIR}/include")
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "${CFLAGS}")
-SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION ${VERSION_MAJOR})
-SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES VERSION ${VERSION})
+SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION ${MAJORVER})
+SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES VERSION ${FULLVER})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${PKGS_LDFLAGS} -ldl)
CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)