if (DEFINED IPC_CONFIG_FILE_PATH) add_definitions(-DIPC_CONFIG_FILE_PATH=\"${IPC_CONFIG_FILE_PATH}\") else() message(FATAL_ERROR "You should set define IPC_CONFIG_FILE_PATH in toolchan.cmake file to tell code where to save config file.") endif() if (DEFINED USERDATA_MOUNT_PATH) add_definitions(-DUSERDATA_MOUNT_PATH=\"${USERDATA_MOUNT_PATH}\") else() message(FATAL_ERROR "You should set define USERDATA_MOUNT_PATH in toolchan.cmake.") endif()