Fix and update manifest file
[platform/core/test/security-tests.git] / CMakeLists.txt
index c27dd7f..a89c09c 100644 (file)
@@ -86,10 +86,18 @@ ADD_DEFINITIONS("-Wno-deprecated-declarations")               # No warnings abou
 ADD_DEFINITIONS("-DCYNARA_DB_DIR=\"${CYNARA_DB_DIR}\"")
 ADD_DEFINITIONS("-DAPP_USER=\"${APP_USER}\"")
 
+# Enabler for popups; this should be done on system-level somewhere, but since it isn't
+# and we already have such definition in security-manager, lets have it also here
+ADD_DEFINITIONS("-DASKUSER_ENABLED")
+
 IF(SMACK_ENABLE)
     ADD_DEFINITIONS("-DWRT_SMACK_ENABLED")
 ENDIF(SMACK_ENABLE)
 
+IF(NOT DEFINED SHARE_INSTALL_PREFIX)
+       SET(SHARE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/share")
+ENDIF(NOT DEFINED SHARE_INSTALL_PREFIX)
+
 ############################# Targets names ###################################
 
 SET(TARGET_CKM_TESTS "ckm-tests")