projects
/
platform
/
core
/
security
/
cynara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Define cynara's version in CMakeLists.txt
[platform/core/security/cynara.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
513f103
..
3f91d6d
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-76,6
+76,8
@@
ADD_DEFINITIONS("-Wextra") # Generate even more extra warni
# Don't export symbols by default
ADD_DEFINITIONS("-fvisibility=hidden")
+# Export version of cynara
+ADD_DEFINITIONS("-DCYNARA_VERSION=\"${CYNARA_VERSION}\"")
IF (CMAKE_BUILD_TYPE MATCHES "DEBUG")
ADD_DEFINITIONS("-DBUILD_TYPE_DEBUG")