IF (PLATFORM_VERSION_3)
ADD_DEFINITIONS("-DPLATFORM_VERSION_3")
- ADD_DEFINITIONS("-DDECLARE_POPUP_USER=")
- ADD_DEFINITIONS("-DDECLARE_POPUP_GROUP=")
- ADD_DEFINITIONS("-DDECLARE_POPUP_SMACK_PROCESS_LABEL=")
+ SET(DECLARE_POPUP_USER "")
+ SET(DECLARE_POPUP_GROUP "")
+ SET(DECLARE_POPUP_SMACK_PROCESS_LABEL "")
CONFIGURE_FILE(packaging/${SERVICE_NAME}.manifest.in ${SERVICE_NAME}.manifest @ONLY)
CONFIGURE_FILE(packaging/${SERVICE_NAME}-test.manifest.in ${SERVICE_NAME}-test.manifest @ONLY)
ELSE (PLATFORM_VERSION_3)
- ADD_DEFINITIONS("-DDECLARE_USER=\"User=app\"")
- ADD_DEFINITIONS("-DDECLARE_GROUP=\"Group=app\"")
- ADD_DEFINITIONS("-DDECLARE_POPUP_SMACK_PROCESS_LABEL=\"SmackProcessLabel=${SERVICE_NAME}\"")
+ SET(DECLARE_POPUP_USER User=app)
+ SET(DECLARE_POPUP_GROUP Group=app)
+ SET(DECLARE_POPUP_SMACK_PROCESS_LABEL SmackProcessLabel=${SERVICE_NAME})
CONFIGURE_FILE(packaging/${SERVICE_NAME}.manifest.smack.in ${SERVICE_NAME}.manifest @ONLY)
CONFIGURE_FILE(packaging/${SERVICE_NAME}-test.manifest.smack.in ${SERVICE_NAME}-test.manifest @ONLY)
ENDIF (PLATFORM_VERSION_3)