CMAKE_MINIMUM_REQUIRED(VERSION 2.8.3)
PROJECT("cynara")
-set(CYNARA_VERSION 0.5.0)
+set(CYNARA_VERSION 0.8.0)
############################# cmake packages ##################################
# 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")
SET(TARGET_CYNARA_TESTS "cynara-tests")
SET(TARGET_LIB_CREDS_COMMONS "cynara-creds-commons")
SET(TARGET_LIB_CREDS_DBUS "cynara-creds-dbus")
+SET(TARGET_LIB_CREDS_GDBUS "cynara-creds-gdbus")
SET(TARGET_LIB_CREDS_SOCKET "cynara-creds-socket")
SET(TARGET_LIB_SESSION "cynara-session")
SET(TARGET_LIB_CYNARA_STORAGE "cynara-storage")