SET(fw_name "capi-system-info")
SET(external_plugin "${fw_name}-plugin")
SET(VERSION "0.2.0")
+SET(PREFIX ${CMAKE_INSTALL_PREFIX})
PROJECT(${fw_name})
ADD_SUBDIRECTORY(src/update_db)
ENDIF("${EMULATOR}" STREQUAL "on")
+#Upgrade script
+CONFIGURE_FILE(
+ script/500.system_info_upgrade.sh.in
+ ${CMAKE_CURRENT_SOURCE_DIR}/500.system_info_upgrade.sh
+ @ONLY
+)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/500.system_info_upgrade.sh DESTINATION ${UPGRADE_SCRIPT_PATH})
+
+
IF(UNIX)
ADD_CUSTOM_TARGET (distclean @echo cleaning for source distribution)